Bug #19632

Enable <del> instead of <strike> in lib.parseFunc_RTE.allowTags by default

Added by Sebastian Michaelsen almost 11 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2008-11-22
Due date:
% Done:

0%

TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

9818_allowDelIns.diff View (712 Bytes) Administrator Admin, 2009-06-01 20:03

History

#1 Updated by Sebastian Michaelsen almost 11 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 ?

#2 Updated by Ingo Renner over 10 years ago

committed to trunk (4.3)

#3 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF