Files app: Replace unicode code to its actual UTF-8 char
When the CSS is in-lined in the JS as part of generating the JS module the "\" escaping doesn't work. To workaround this problem we replace the escaping unicode code with the actual UTF-8 char. Note that the code "\00a0" is actually a non-break space and it was replaced with a normal blank space, however the style used doesn't break and this is an old style used in pre-GM2. Note 2: The problem only affects styles in the HTML for Polymer elements, but for consistency, I'm replacing in all files. Bug: 1133186, 1130413 Change-Id: I69fc315a6f4e8b96564b2250b2f8510fed55e307 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2470037 Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Alex Danilo <adanilo@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/master@{#818385}
Showing
Please register or sign in to comment