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

taro解析转换wxml文件有个错误 #3010

Closed
lolipop99 opened this issue May 10, 2019 · 1 comment
Closed

taro解析转换wxml文件有个错误 #3010

lolipop99 opened this issue May 10, 2019 · 1 comment
Assignees

Comments

@lolipop99
Copy link
Contributor

问题描述
taro解析转换wxml文件有个错误,如果解析的字符串中<后非空字符都会当成标签解析。

复现步骤
[复现问题的步骤]
执行taro convert命令

<view>
{{a<rang.length}}
</view>

期望行为

{{a < rang.length}}

报错信息

<view>
{'{{'}a
<RangLength />
</view>

系统信息

👽 Taro v1.2.26


  Taro CLI 1.2.26 environment info:
    System:
      OS: macOS 10.14.2
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.3.0 - ~/.nvm/versions/node/v11.3.0/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v11.3.0/bin/npm
    npmGlobalPackages:
      typescript: 3.3.3333

补充信息
出现问题是 taroize 依赖的himalaya-wxml库lexer问题

@taro-bot
Copy link

taro-bot bot commented May 10, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@yuche yuche added the taroize label May 13, 2019
@yuche yuche self-assigned this May 13, 2019
@yuche yuche closed this as completed in e4a6f93 Aug 16, 2019
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

2 participants