Skip to content

Commit

Permalink
add pruning of metadata and other foreign elements
Browse files Browse the repository at this point in the history
  • Loading branch information
cconcolato committed Feb 15, 2024
1 parent 0512851 commit ca1f7db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -927,9 +927,9 @@ <h4>Text</h4>
<ul>
<li>The <a>Text</a> of the <a>Script Event</a> is represented by the character content
of the <code>&lt;p&gt;</code> element and of all of its <code>&lt;span&gt;</code> descendant elements,
excluding <code>&lt;metadata&gt;</code> elements and foreign elements,
treating <code>&lt;br&gt;</code> elements as new lines,
and applying White Space Handling as defined in [[!XML]].
after <code>&lt;metadata&gt;</code> elements and foreign elements have been pruned,
after replacing <code>&lt;br&gt;</code> elements by line breaks,
and after applying White Space Handling as defined in [[!XML]].
<aside class="note">The text content of the paragraph can be structured using TTML elements such as
<code>&lt;br&gt;</code> or <code>&lt;span&gt;</code>
which can include or reference TTML style attributes
Expand Down

0 comments on commit ca1f7db

Please sign in to comment.