wechat-miniprogram / glass-easel

Multiple-backend component-based JavaScript framework
MIT License
243 stars 34 forks source link

`nbsp;` does not work as a static spacing in WXML #179

Closed LastLeaf closed 2 months ago

LastLeaf commented 4 months ago

Currently template compiler treats all rust white-spaces (a.k.a. the white space section in unicode prop-list) as white-spaces. Actually this is not the same behavior as browsers.

Only white-spaces in ASCII range should be treated as template white-spaces.