Bug #19632
closedEnable <del> instead of <strike> in lib.parseFunc_RTE.allowTags by default
0%
Description
lib.parseFunc_RTE.allowTags by default allows the strike HTML tag which is deprecated because it's a physical element with a logical equivalent.
I think the del HTML tag should be enabled by default.
I'd also add a patch but I don't know where this is defined. If I find it, I will add one.
(issue imported from #M9818)
Files
Updated by Sebastian Michaelsen almost 16 years ago
I found it and I created a patch, but i'm not experienced with it, and i think i did not do it the right way. I think I should not upload it.
The hot spot is in Ext:css_styled_content/static/constants.txt
@ -23,7 +23,7
@
# cat=content/links; type=small; label= Target for external links
extTarget = _blank
target = {$PAGE_TARGET}
- allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6
+ allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,del,h1,h2,h3,h4,h5,h6
}
[compatVersion = 4.2.0]
styles.content.links.allowTags := addToList(address)
I can't edit the meta data of this issue. Can someone move it to tx_cssstyledconent ?