Utilities::convertWhiteSpaceToHTML() is the same as the CSS white-space:pre-wrap, except that it pollutes the HTML code, which can confuse tools. Unless there’s a reason to keep it, it should be replaced by appropriate CSS styles, which makes the PHP code simpler and the output easier to work with. (The code was first introduced in rSVN29017 (code review), without much elaboration.)
Description
Description
Related Objects
Related Objects
- Mentioned In
- T350001: Reduce translatewiki local patches
- Mentioned Here
- rSVN29017: * Enhanced edit view with fieldsets and message documentation
Event Timeline
Comment Actions
It's definitely not same as nowrap. It might be replaced by some other value that preserves white-space.