Open disaster123 opened 11 years ago
You must set priority for bbcode plugin lower than mantisbt formating plugin
MantisBT Formatting 1.0a => has Prio 3 MantisBT BBCode 1.3.3 => has Prio 1
Input: [code]
(dpkg -l |egrep "^ii linux-header|^pi linux-header"|awk '{ print $2 }'|sort -V|head -n -1|xargs -n1 -i dpkg -P "{}")) (apt-get update; apt-get -y -f --force-yes dist-upgrade; apt-get autoclean) [/code]
Output is:
# 22.10.2012 abc efg
(dpkg -l |egrep "^ii linux-header|^pi linux-header"|awk '{ print $2 }'|sort -V|head -n -1|xargs -n1 -i dpkg -P "{}"))
(apt-get update; apt-get -y -f --force-yes dist-upgrade; apt-get autoclean)
So i still have
tags and " and stuff like that in it.
Sorry. I understand what you mean. But this if you switch off bbcode and post (ex in comments) this code you'll see that " transform to &qoute This work plugin - MantisBT Formatting 1.0a.
I'm not sure what you mean. The problem is that "MantisBT Formatting" formats code in pre tags. But it should / must IGNORE code in
tags. Or another way could be to htmldecode the part in your plugin.
Just test it and i think this issue can be closed.
I just tested this and I cannot get HTML code to show. Tried both combinations of priorities. Only have this plugin and MantisBT Formatting 1.0b.
I am trying with this:
<p> </p>
Why is this not built into MantisBT core somewhere already anyway?
Code in [code] tags should not be encoded or modified by mantis.
Right now it is still affected by the mantis core formatter plugin.
So i stoll see
and & tags in my code i do not want.