ui: fix highlighter

This commit is contained in:
undefined committed 2021-05-13 12:46:10 +08:00
1 parent a5f8f02d8e
commit 015c55f144
4 files changed
+12 -6

No files matched your search

@@ -11,7 +11,7 @@
<h1 class="section__title">{{ _('Code') }}</h1>
</div>
<div class="section__body">
<pre><code class="line-numbers language-{{ model.system.langs[rdoc.lang].highlight }}">{{ rdoc['code'] }}</code></pre>
<pre><code class="line-numbers language-{{ model.setting.langs[rdoc.lang].highlight }}">{{ rdoc['code'] }}</code></pre>
</div>
</div>
{% endif %}