w3c / i18n-checker

W3C's i18n checker
https://validator.w3.org/i18n-checker/
Other
36 stars 17 forks source link

Check for Unicode directional controls closed #4

Closed r12a closed 8 years ago

r12a commented 8 years ago

check that all RLE/LRE end in PDF, and all RLI/LRI/FSI end in PDI

r12a commented 8 years ago

Rather than implement a computationally expensive algorithm to track down the boundaries of paragraphs and determine whether or not the start tags matched the end tags in each case, i implemented a simple check.

The checker counts the number of start controls and end controls in the page, and if there's a difference triggers a message.

Of course, if there are an odd number of failures, no message will be triggered. We can perhaps revisit this later.