usememos / memos

An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
https://usememos.com
MIT License
34.44k stars 2.49k forks source link

更新后 ```__html 标签失效 #4098

Closed yuboabc closed 5 days ago

yuboabc commented 2 weeks ago

Describe the bug

使用代码

<div>网页内容</div>

来显示一些html的内容, 在新版本更新后, 全部内容失效, 无法显示.

Steps to reproduce

1

The version of Memos you're using.

0.23.0

Screenshots or additional context

No response

Issues-translate-bot commented 2 weeks ago

Issue is not in English. It has been translated automatically.


Title: The ```__html tag is invalid after the update

yuboabc commented 2 weeks ago

例如

```__html
<p style="color:#FF0000; fond-size:32px">有颜色的文字</p>

代码中 p标签不生效 style样式不生效, 在memos中只显示 文字, html标签和样式全部失效
Issues-translate-bot commented 2 weeks ago

Issue is not in English. It has been translated automatically.


For example

```__html
<p style="color:#FF0000; fond-size:32px">Colored text</p>

In the code, the p tag does not take effect and the style style does not take effect. Only text is displayed in memos, and the html tags and styles are all invalid.  
jkjoy commented 1 week ago

图呢?无图无真相

Issues-translate-bot commented 1 week ago

Issue is not in English. It has been translated automatically.


Where’s the picture? No picture, no truth

boojack commented 5 days ago

Fixed with https://github.com/usememos/memos/commit/67c1a46346b7c8121ba4fda82c06f4ac4f056942