将换行序列转换为段落和硬换行元素。
github.com/mecha-cms/x.p
源代码
问题
安装: 0
依赖: 0
建议者: 0
安全: 0
星标: 0
关注者: 3
分支: 0
开放问题: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
GPL-3.0-or-later 8841e31e4ac15f9dbfcb78aa7984388fff780448
This package is auto-updated.
Last update: 2024-09-29 03:57:59 UTC
此扩展通过检测周围的 \n 字符自动在页面内容中插入 <p> 和 <br> 标签。此扩展将关注哪些部分需要自动化,哪些不需要。例如,此扩展永远不会在 <pre>、<script>、<style> 和 <textarea> 元素内插入段落标签。此扩展仅适用于 type 为 HTML 和 text/html 的页面。
\n
<p>
<br>
<pre>
<script>
<style>
<textarea>
type
HTML
text/html