https://bugzilla.wikimedia.org/show_bug.cgi?id=39181
--- Comment #8 from [email protected] 2012-08-22 15:19:12 UTC --- This insignificant whitespace issue is broader than self-closing tags. Worth closing this ticket and opening a new one to discuss that. For example, try this: "<div style='color:red;'>foo</div>" The excess white space is lost. While I am inclined to dismiss this issues as insignificant and as a case where dirty diffs are acceptable, I am also sensing the tension in the air around WMF projects. So, maybe this is not such an insignificant issue after all. Using selective serialization, we can for sure address all these newline, whitespace, etc. issues, and it is worth discussing how soon we should enable that. As Gabriel noted, it will also eliminate a lot of the wikitext state we carry around in the DOM. But, the serializer also ought to be complete in and of itself, and so this question will rear its head in that context again. My personal inclination is to ignore this issue because supporting this consistently will mean essentially recognizing non-normalized-whitespace/newline scenarios and carrying diff-state in the DOM. But, we will probably be doing this only to satisfy a requirement of perfect round-tripping which IMO is unreasonable/unrealistic. This might be one issue where it is worth bringing in the editor community into the discussion so we can make a more reasonable decision that everying can be happy with. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
