56 * The html spec does not specify how spaces are to be coalesced very well. |
56 * The html spec does not specify how spaces are to be coalesced very well. |
57 * Specifically, the following scenarios are not discussed (note that a |
57 * Specifically, the following scenarios are not discussed (note that a |
58 * space should be used here, but I am using &nbsp to force the space to |
58 * space should be used here, but I am using &nbsp to force the space to |
59 * be displayed): |
59 * be displayed): |
60 * <p> |
60 * <p> |
61 * '<b>blah <i> <strike> foo' which can be treated as: |
61 * '<b>blah <i> <strike> foo' which can be treated as: |
62 * '<b>blah <i><strike>foo' |
62 * '<b>blah <i><strike>foo' |
63 * <p>as well as: |
63 * <p>as well as: |
64 * '<p><a href="xx"> <em>Using</em></a></p>' |
64 * '<p><a href="xx"> <em>Using</em></a></p>' |
65 * which appears to be treated as: |
65 * which appears to be treated as: |
66 * '<p><a href="xx"><em>Using</em></a></p>' |
66 * '<p><a href="xx"><em>Using</em></a></p>' |
67 * <p> |
67 * <p> |
68 * If <code>strict</code> is false, when a tag that breaks flow, |
68 * If <code>strict</code> is false, when a tag that breaks flow, |
69 * (<code>TagElement.breaksFlows</code>) or trailing whitespace is |
69 * (<code>TagElement.breaksFlows</code>) or trailing whitespace is |
70 * encountered, all whitespace will be ignored until a non whitespace |
70 * encountered, all whitespace will be ignored until a non whitespace |
71 * character is encountered. This appears to give behavior closer to |
71 * character is encountered. This appears to give behavior closer to |