Skip to content

Commit c3d678e

Browse files
committed
Mark code elements as non-translatable
1 parent 026d1a3 commit c3d678e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Templates/default/html/code.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="literal-block loc-{{ numLocDigits }}">
1+
<div translate="no" class="literal-block loc-{{ numLocDigits }}">
22
<div class="highlight-{{ language }}">
33
<table class="highlighttable">
44
<tr>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<code>{{ text|raw }}</code>
1+
<code translate="no">{{ text|raw }}</code>

0 commit comments

Comments
 (0)