Just one SPAN tag seems fine. For example,
<span lang="en" class="multilang">
English text in <span style="font-weight: bold;">bold</span>.
</span>
<span lang="ko" class="multilang"> Korean text in <span style="font-weight: bold;">bold</span>.
</span>
Prints English text in bold and Korean text in bold respectively.English text in <span style="font-weight: bold;">bold</span>.
</span>
<span lang="ko" class="multilang"> Korean text in <span style="font-weight: bold;">bold</span>.
</span>
This was problematic. I tried it first and it did not work. Then, as I copied it here and re-tested, I may have removed a space somewhere and suddenly it worked...!
<span lang="en" class="multilang">
English text in <span style="font-weight: bold;">bold</span>
and then some <span style="color: rgb(255, 0, 0);">red</span>.
</span>
<span lang="ko" class="multilang">
Korean text in <span style="font-weight: bold;">bold</span>
and then some <span style="color: rgb(255, 0, 0);">red</span>.
</span>
English text in <span style="font-weight: bold;">bold</span>
and then some <span style="color: rgb(255, 0, 0);">red</span>.
</span>
<span lang="ko" class="multilang">
Korean text in <span style="font-weight: bold;">bold</span>
and then some <span style="color: rgb(255, 0, 0);">red</span>.
</span>
However, this does not work at all:
<span lang="en" class="multilang">
<span class="nolink">
<h1>Help</h1>
</span>
Help in English
<h2>Classroom Basics</h2>
</span>
<span lang="ko" class="multilang">
<span class="nolink">
<h1>Help</h1>
</span>
Help in Korean
<h2>Classroom Basics</h2>
</span>
<span class="nolink">
<h1>Help</h1>
</span>
Help in English
<h2>Classroom Basics</h2>
</span>
<span lang="ko" class="multilang">
<span class="nolink">
<h1>Help</h1>
</span>
Help in Korean
<h2>Classroom Basics</h2>
</span>
This only prints the Korean text, even when the English interface is chosen.
Is this a bug?
More importantly: is there a workaround for this in the interim while the bug is being fixed? Some of our content does not work very well now, especially where we try to avoid autolinking by using <nolink>, because Moodle automatically turns it into <span class="nolink">
Thanks,
Tore