Tofu in xi:include fixups, block/warning against functional xi:fallback - #332
Tofu in xi:include fixups, block/warning against functional xi:fallback#332alfsb wants to merge 1 commit into
Conversation
|
The tofu thing is a workaround to the long standing php/phd#247 and php/phd#181 . |
|
Please use This character is also not consistently rendered across browsers and/or operating systems, but for this purpose that's not a problem. |
|
One alternative over tofu is to repeat the That said, I prefer a single character that is not consistently rendered across browsers, than having random pages being consistently rendered wrong across browsers. But the comment thing worries me. It will take a long time until I borrow a machine to test the PhD side, to see if this change in fact fixes both issues, and does not cause one immediate breakage. |
Add tofu (
U+FFFD � REPLACEMENT CHARACTER) in empty elements to avoid trip PhD into generating invalid HTML, also block (on doc-en) and warning (in translations) in the presence of reachable functional<xi:fallback>s, that cause manual parts to go silently missing.Comments and reviews are welcome. Plan to merge this after manual split.