<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://cznwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3A%E6%96%87%E6%9C%AC</id>
	<title>模块:文本 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://cznwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3A%E6%96%87%E6%9C%AC"/>
	<link rel="alternate" type="text/html" href="https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:%E6%96%87%E6%9C%AC&amp;action=history"/>
	<updated>2026-08-02T01:11:57Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:%E6%96%87%E6%9C%AC&amp;diff=11&amp;oldid=prev</id>
		<title>律Rhyme：​将描边相关的重置与应用逻辑，改为直接注入内联 style</title>
		<link rel="alternate" type="text/html" href="https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:%E6%96%87%E6%9C%AC&amp;diff=11&amp;oldid=prev"/>
		<updated>2026-08-01T08:10:38Z</updated>

		<summary type="html">&lt;p&gt;将描边相关的重置与应用逻辑，改为直接注入内联 style&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年8月1日 (六) 16:10的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;第43行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第43行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local classes = { &amp;#039;text-style&amp;#039; }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local classes = { &amp;#039;text-style&amp;#039; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local styles  = {}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local styles  = {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        &#039;-webkit-text-stroke: 0;&#039;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        &#039;paint-order: normal;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/ins&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local colorVal = resolveColor(color)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local colorVal = resolveColor(color)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l69&quot;&gt;第69行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第72行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local html = &#039;&amp;lt;span class=&quot;&#039; .. table.concat(classes, &#039; &#039;) .. &#039;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local html = &#039;&amp;lt;span class=&quot;&#039; .. table.concat(classes, &#039; &#039;) .. &#039;&quot; style=&quot;&#039; .. table.concat(styles, &#039; &#039;) .. &#039;&quot;&amp;gt;&#039; .. content .. &#039;&amp;lt;/span&amp;gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    if #styles &amp;gt; 0 then&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        html = html .. &#039; &lt;/del&gt;style=&quot;&#039; .. table.concat(styles, &#039; &#039;) .. &#039;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    end&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    html = html .. &#039;&lt;/del&gt;&amp;gt;&#039; .. content .. &#039;&amp;lt;/span&amp;gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return html&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;return p&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;return p&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cznwiki:diff:1.41:old-9:rev-11:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>律Rhyme</name></author>
	</entry>
	<entry>
		<id>https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:%E6%96%87%E6%9C%AC&amp;diff=9&amp;oldid=prev</id>
		<title>律Rhyme：​创建页面，内容为“local p = {}  local colorMap = {     [&#039;红&#039;]    = &#039;#ff4d4d&#039;,     [&#039;蓝&#039;]    = &#039;#7be3fd&#039;,     [&#039;绿&#039;]    = &#039;#a8f428&#039;,     [&#039;黄&#039;]    = &#039;#ffe44d&#039;,     [&#039;橙&#039;]    = &#039;#ed9703&#039;,     [&#039;粉&#039;]    = &#039;#ffb3d9&#039;,     [&#039;灰&#039;]    = &#039;#a0a0a0&#039;,     [&#039;热情&#039;]  = &#039;#db3762&#039;,     [&#039;正义&#039;]  = &#039;#2c8fd8&#039;,     [&#039;秩序&#039;]  = &#039;#21bf80&#039;,     [&#039;本能&#039;]  = &#039;#eda000&#039;,     [&#039;虚无&#039;]  = &#039;#9900ff&#039;, }  local function resolveColor(color)     if not color or color == &#039;&#039; then         return n…”</title>
		<link rel="alternate" type="text/html" href="https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:%E6%96%87%E6%9C%AC&amp;diff=9&amp;oldid=prev"/>
		<updated>2026-08-01T08:06:59Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“local p = {}  local colorMap = {     [&amp;#039;红&amp;#039;]    = &amp;#039;#ff4d4d&amp;#039;,     [&amp;#039;蓝&amp;#039;]    = &amp;#039;#7be3fd&amp;#039;,     [&amp;#039;绿&amp;#039;]    = &amp;#039;#a8f428&amp;#039;,     [&amp;#039;黄&amp;#039;]    = &amp;#039;#ffe44d&amp;#039;,     [&amp;#039;橙&amp;#039;]    = &amp;#039;#ed9703&amp;#039;,     [&amp;#039;粉&amp;#039;]    = &amp;#039;#ffb3d9&amp;#039;,     [&amp;#039;灰&amp;#039;]    = &amp;#039;#a0a0a0&amp;#039;,     [&amp;#039;热情&amp;#039;]  = &amp;#039;#db3762&amp;#039;,     [&amp;#039;正义&amp;#039;]  = &amp;#039;#2c8fd8&amp;#039;,     [&amp;#039;秩序&amp;#039;]  = &amp;#039;#21bf80&amp;#039;,     [&amp;#039;本能&amp;#039;]  = &amp;#039;#eda000&amp;#039;,     [&amp;#039;虚无&amp;#039;]  = &amp;#039;#9900ff&amp;#039;, }  local function resolveColor(color)     if not color or color == &amp;#039;&amp;#039; then         return n…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local colorMap = {&lt;br /&gt;
    [&amp;#039;红&amp;#039;]    = &amp;#039;#ff4d4d&amp;#039;,&lt;br /&gt;
    [&amp;#039;蓝&amp;#039;]    = &amp;#039;#7be3fd&amp;#039;,&lt;br /&gt;
    [&amp;#039;绿&amp;#039;]    = &amp;#039;#a8f428&amp;#039;,&lt;br /&gt;
    [&amp;#039;黄&amp;#039;]    = &amp;#039;#ffe44d&amp;#039;,&lt;br /&gt;
    [&amp;#039;橙&amp;#039;]    = &amp;#039;#ed9703&amp;#039;,&lt;br /&gt;
    [&amp;#039;粉&amp;#039;]    = &amp;#039;#ffb3d9&amp;#039;,&lt;br /&gt;
    [&amp;#039;灰&amp;#039;]    = &amp;#039;#a0a0a0&amp;#039;,&lt;br /&gt;
    [&amp;#039;热情&amp;#039;]  = &amp;#039;#db3762&amp;#039;,&lt;br /&gt;
    [&amp;#039;正义&amp;#039;]  = &amp;#039;#2c8fd8&amp;#039;,&lt;br /&gt;
    [&amp;#039;秩序&amp;#039;]  = &amp;#039;#21bf80&amp;#039;,&lt;br /&gt;
    [&amp;#039;本能&amp;#039;]  = &amp;#039;#eda000&amp;#039;,&lt;br /&gt;
    [&amp;#039;虚无&amp;#039;]  = &amp;#039;#9900ff&amp;#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local function resolveColor(color)&lt;br /&gt;
    if not color or color == &amp;#039;&amp;#039; then&lt;br /&gt;
        return nil&lt;br /&gt;
    end&lt;br /&gt;
    if colorMap[color] then&lt;br /&gt;
        return colorMap[color]&lt;br /&gt;
    end&lt;br /&gt;
    local hex = color&lt;br /&gt;
    if string.sub(hex, 1, 1) ~= &amp;#039;#&amp;#039; then&lt;br /&gt;
        hex = &amp;#039;#&amp;#039; .. hex&lt;br /&gt;
    end&lt;br /&gt;
    if string.match(hex, &amp;#039;^#[0-9a-fA-F]{3}$&amp;#039;) or string.match(hex, &amp;#039;^#[0-9a-fA-F]{6}$&amp;#039;) then&lt;br /&gt;
        return hex&lt;br /&gt;
    end&lt;br /&gt;
    return color&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
&lt;br /&gt;
    local color    = args[&amp;#039;颜色&amp;#039;]   or &amp;#039;&amp;#039;&lt;br /&gt;
    local stroke   = args[&amp;#039;描边&amp;#039;]   or &amp;#039;&amp;#039;&lt;br /&gt;
    local underline = args[&amp;#039;下划线&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
    local italic   = args[&amp;#039;斜体&amp;#039;]   or &amp;#039;&amp;#039;&lt;br /&gt;
    local content  = args[1]        or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    local classes = { &amp;#039;text-style&amp;#039; }&lt;br /&gt;
    local styles  = {}&lt;br /&gt;
&lt;br /&gt;
    local colorVal = resolveColor(color)&lt;br /&gt;
    if colorVal then&lt;br /&gt;
        table.insert(classes, &amp;#039;text-style--colored&amp;#039;)&lt;br /&gt;
        table.insert(styles, &amp;#039;color: &amp;#039; .. colorVal .. &amp;#039;;&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local strokeVal = resolveColor(stroke)&lt;br /&gt;
    if strokeVal then&lt;br /&gt;
        table.insert(classes, &amp;#039;text-style--stroked&amp;#039;)&lt;br /&gt;
        table.insert(styles, &amp;#039;-webkit-text-stroke: 1px &amp;#039; .. strokeVal .. &amp;#039;;&amp;#039;)&lt;br /&gt;
        table.insert(styles, &amp;#039;paint-order: stroke fill;&amp;#039;)&lt;br /&gt;
        if not colorVal then&lt;br /&gt;
            table.insert(styles, &amp;#039;color: #fff;&amp;#039;)&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    if underline ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        table.insert(classes, &amp;#039;text-style--underline&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    if italic ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        table.insert(classes, &amp;#039;text-style--italic&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local html = &amp;#039;&amp;lt;span class=&amp;quot;&amp;#039; .. table.concat(classes, &amp;#039; &amp;#039;) .. &amp;#039;&amp;quot;&amp;#039;&lt;br /&gt;
    if #styles &amp;gt; 0 then&lt;br /&gt;
        html = html .. &amp;#039; style=&amp;quot;&amp;#039; .. table.concat(styles, &amp;#039; &amp;#039;) .. &amp;#039;&amp;quot;&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
    html = html .. &amp;#039;&amp;gt;&amp;#039; .. content .. &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    return html&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>律Rhyme</name></author>
	</entry>
</feed>