enhancement
critical
major
minor
minor
When translating JavaDoc HTML, a problem arises where paragraph tags "shift." For example, the text
Format of the consecutive number added to the generated ID. <p> The formatted value replaces the <code>%NUMBER%</code> placeholder in the iD pattern. </p> <p> The value must be a valid <i>decimal format</i> format pattern. </p> <p> The value <code>000</code> formats the number with three digits, including leading zeros, while <code>#</code> formats the number with as many digits as required without leading zeros. </p>
The translation
Format of the sequential number appended to the generated ID. <p> The formatted value replaces the placeholder <code>%NUMBER%</code> </p> in the iD pattern. <p> The value must be a valid <i>decimal format</i> </p> pattern. <p> The value <code>000</code> formats the number with three digits, including leading zeros, while <code>#</code> formats the number with as many digits as necessary without leading zeros. </p>
The translation is correct, but the position of the first closing </p> tag has shifted to the middle of the second sentence. This results in invalid formatting.
Solution
The problem does not occur if you explicitly mark <p> as a "splitting tag."
Test
No test.