redmine_highlightjs icon indicating copy to clipboard operation
redmine_highlightjs copied to clipboard

1.0.3 when class="html", it shows nothing

Open aliramw opened this issue 9 years ago • 6 comments

<pre><code class="html">
<input type="button" name="login" onclick="Agent.clickEvent();">
</code></pre>

aliramw avatar Dec 04 '15 10:12 aliramw

It is working on my copy, are there any JS errors on Your redmine instance? Take a look at JS console. If there is an error before hjs plugin execution then it will not highlight anything on page (this or any other piece of code) .

dominch avatar Dec 04 '15 16:12 dominch

No js error.

These also display nothing!!!

<pre><code class="xml">
<dependency>
   <info test="234"></info>
</dependency>
</code></pre>

if I remove "xml", it become normal....

why????

aliramw avatar Dec 10 '15 03:12 aliramw

I found that when code class = "xml",it just embed the code into html ... that's disaster....

2015-12-10 11 16 12

aliramw avatar Dec 10 '15 03:12 aliramw

I have the same issue. When I view html/jsp file in Repository, it shows nothing.

zl2705 avatar Dec 25 '15 07:12 zl2705

any update on this issue?

aliramw avatar Dec 25 '15 09:12 aliramw

Hi! Same situation for me. Actually, ANY HTML Related (like Tables, CSS , XML...) the section is rendered. so for example, instead of seeing the HTML of a table, I see the table. :-/

alxRlja avatar Aug 25 '16 06:08 alxRlja