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

似乎渲染代码上面还有一点bug #75

Open
ourfor opened this issue Apr 26, 2019 · 6 comments
Open

似乎渲染代码上面还有一点bug #75

ourfor opened this issue Apr 26, 2019 · 6 comments
Labels

Comments

@ourfor
Copy link

ourfor commented Apr 26, 2019

我是需要渲染markdown里面的html代码示例:

<!DOCTYPE html>
<html lang="zh-cmn-Hans">
 <head>
  <meta charset="utf-8" />
  <title>font-style_CSS参考手册_web前端开发参考手册系列</title>
  <meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" />
  <style>.test p{margin:15px 0;border:1px solid #000;}.normal p{font-style:normal;}.italic p{font-style:italic;}.oblique p{font-style:oblique;}</style>
 </head>
 <body>
  <ul class="test"> 
   <li class="normal"> <strong>正常的字体:</strong> <p>本段文字将显示为正常的字体。</p> </li> 
   <li class="italic"> <strong>斜体:</strong> <p>本段文字将显示为斜体。</p> </li> 
   <li class="oblique"> <strong>倾斜的字体:</strong> <p>本段文字将显示为倾斜的字体。</p> </li>
  </ul>
 </body>
</html>

效果如下:

error

css中的一些属性值均重复,html正常

@ourfor
Copy link
Author

ourfor commented Apr 27, 2019

我下载更新了prism.js解决了

@ourfor ourfor closed this as completed Apr 27, 2019
@TooBug
Copy link
Owner

TooBug commented May 4, 2019

所以是prism.js旧版本有问题?

@TooBug TooBug reopened this May 4, 2019
@ourfor
Copy link
Author

ourfor commented May 5, 2019

是的

@TooBug
Copy link
Owner

TooBug commented May 5, 2019

收到,我晚点验证一下,如果有必要就更新一下。

@TooBug TooBug added the bug label May 5, 2019
@Akimotorakiyu
Copy link

Akimotorakiyu commented May 21, 2019

阿里开发工具更新到0.32.3之后,模拟器上不能显示了,页面节点渲染出来全是空的
是因为<video />标签
图片

@wizhuo
Copy link

wizhuo commented Sep 3, 2019

public class ThisTest {
   public static void main(String args[]) {
       String x = 7;
       int y = 2;
       int z = 2;
       System.out.println(x + y + z);
   }
}

中的ThisTest 在小程序端会显示为ThisTestThisTest 重复了,去掉语言中的Java标识就可以正常,有Java标识就不正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants