From: Alexander Ebert Date: Sun, 21 Feb 2021 12:20:04 +0000 (+0100) Subject: Improved the accessibility for code listings and quotes X-Git-Tag: 5.4.0_Alpha_1~249 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=042d7d32384fa2e82c6fcd815f6b94fc8e345a1b;p=GitHub%2FWoltLab%2FWCF.git Improved the accessibility for code listings and quotes Fixes #3702 --- diff --git a/com.woltlab.wcf/templates/codeMetaCode.tpl b/com.woltlab.wcf/templates/codeMetaCode.tpl index 35c0c8c4b1..98b9adbef1 100644 --- a/com.woltlab.wcf/templates/codeMetaCode.tpl +++ b/com.woltlab.wcf/templates/codeMetaCode.tpl @@ -3,14 +3,14 @@
{$title}{if $filename}: {$filename}{/if}
{if !$isAmp && $lines > 10} - + {/if} {assign var='lineNumber' value=$startLineNumber}
{foreach from=$content item=line}{*
 		*}{assign var='codeLineID' value='codeLine_'|concat:$lineNumber:'_':$codeID}{*
-		*}{$line}{*
+		*}{$line}{*
 		*}{assign var='lineNumber' value=$lineNumber+1}{*
 	*}{/foreach}
diff --git a/com.woltlab.wcf/templates/quoteMetaCode.tpl b/com.woltlab.wcf/templates/quoteMetaCode.tpl index 7b15fea581..9dcf9cbab3 100644 --- a/com.woltlab.wcf/templates/quoteMetaCode.tpl +++ b/com.woltlab.wcf/templates/quoteMetaCode.tpl @@ -26,7 +26,7 @@ {if $collapseQuote} - {lang}wcf.bbcode.button.showAll{/lang} + {lang}wcf.bbcode.button.showAll{/lang}