1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 02:59:52 +02:00

[ticket/13713] Remove mention colors to reduce the cache size

PHPBB3-13713
This commit is contained in:
lavigor
2018-09-15 12:26:06 +03:00
committed by Marc Alexander
parent 149d0aa5d3
commit b84c10733b
4 changed files with 3 additions and 79 deletions

View File

@@ -87,7 +87,6 @@ class factory implements \phpbb\textformatter\cache_interface
'mention' =>
"[MENTION={PARSE=/^(?<type>[ug]):(?<id>\d+)$/}
profile_url={URL;optional;postFilter=#false}
color={COLOR;optional}
]{TEXT}[/MENTION]",
'quote' =>
"[QUOTE
@@ -136,9 +135,6 @@ class factory implements \phpbb\textformatter\cache_interface
<xsl:when test="@profile_url">
<a class="mention">
<xsl:attribute name="href"><xsl:value-of select="@profile_url"/></xsl:attribute>
<xsl:if test="@color">
<xsl:attribute name="style">color: #<xsl:value-of select="@color"/>;</xsl:attribute>
</xsl:if>
<xsl:apply-templates/>
</a>
</xsl:when>