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