Bug #17188
closedHardcoded value for target of external links
0%
Description
For now value for target of external links is hardcoded to the '_blank' instead of using existing constant $PAGE_TARGET
Current code
styles.content.links {
keep = path
# 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
}
should be
styles.content.links {
keep = path
# cat=content/links; type=small; label= Target for external links
extTarget = {$PAGE_TARGET}
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
}
css_styled_content 0.3.1
(issue imported from #M5364)
Files
Updated by Matthias Kall about 17 years ago
For my patch I took a different approach: I left the values alone due to backwards compatibility and added the comment line for the internal target. This way it can be edited in the constant editor.
Updated by Kirill Klimov almost 17 years ago
Martin, why you have set status to feedback?
What feedback do you want to get?
Updated by Susanne Moog over 13 years ago
It's not hardcoded, it's just set to _blank by default and can be changed through the constant editor. It's exactly the same as PAGE_TARGET with the one difference that PAGE_TARGET is at the advanced section, older and meant for the use with frames.