<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>富文本 on PlumePHP</title><link>https://plumephp.com/tags/%E5%AF%8C%E6%96%87%E6%9C%AC/</link><description>Recent content in 富文本 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 12 Jun 2026 09:02:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E5%AF%8C%E6%96%87%E6%9C%AC/index.xml" rel="self" type="application/rss+xml"/><item><title>Godot RichTextLabel 内容渲染：公告、邮件与运营文本的安全边界</title><link>https://plumephp.com/godot-richtext-content-rendering-2026/</link><pubDate>Fri, 12 Jun 2026 09:02:00 +0800</pubDate><guid>https://plumephp.com/godot-richtext-content-rendering-2026/</guid><description>&lt;h2 id="背景富文本内容渲染不是一个孤立功能"&gt;背景：富文本内容渲染不是一个孤立功能&lt;/h2&gt;
&lt;p&gt;运营公告、邮件、活动说明、礼包规则都需要富文本：变色、加粗、图标、链接、道具名、倒计时。Godot 的 RichTextLabel 支持 BBCode，看起来直接把服务端文本塞进去就行。我们最初也是这么做，结果很快遇到问题：运营写错标签导致整段不显示，远程图片加载失败撑破布局，链接跳转到不存在页面，某些语言换行后按钮被挤出屏幕。富文本是内容入口，也是客户端安全边界。&lt;/p&gt;</description></item></channel></rss>