| SegmentRemoveUnmatchedStartAndEndTags Method |
| Name | Description | |
|---|---|---|
| RemoveUnmatchedStartAndEndTags |
Deletes all tags from the segment which have a tag type of UnmatchedStart
or UnmatchedEnd. Note that this method only tests the tag type, and
does not handle paired tags where the start or end tag are missing.
| |
| RemoveUnmatchedStartAndEndTags(Boolean) |
Deletes all tags from the segment which have a tag type of UnmatchedStart
or UnmatchedEnd, if these tags occur in peripheral positions, which means
that dangling end tags are only removed if they appear at the start of the segment, and dangling start
tags are only removed if they appear at the end of the segment, with no other tags or text preceding the
tag (in case of segment-initial dangling end tags), or following the tag (for segment-trailing dangling
start tags).
Note that this method only tests the tag type, and does not handle paired tags where the start or end tag are missing. |