Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang="pug" wx:if 中有 "<" 符号会报错 #498

Closed
wulunyi opened this issue Nov 4, 2017 · 2 comments
Closed

lang="pug" wx:if 中有 "<" 符号会报错 #498

wulunyi opened this issue Nov 4, 2017 · 2 comments

Comments

@wulunyi
Copy link

wulunyi commented Nov 4, 2017

报错 [xmldom error] element parse error: Error: invalid tagName

@wulunyi wulunyi changed the title lang="pug" wx:if 中有 "<" 或 ">" 符号会报错 lang="pug" wx:if 中有 "<" 符号会报错 Nov 4, 2017
@luna825
Copy link

luna825 commented Nov 30, 2017

"wx:if =" 加一个"!",变成"wx:if!= ",取消" < " 的转译

@Gcaufy
Copy link
Collaborator

Gcaufy commented Nov 30, 2017

xmldom解析domo报错,暂时没有想到很好的办法,先可以用 @luna825 的办法规避

@Gcaufy Gcaufy closed this as completed Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants