Text-slicer: Add support for hyperlinks

This commit is contained in:
Jermolene
2018-01-30 11:06:50 +00:00
parent ab2ac78620
commit 7534a97518
3 changed files with 89 additions and 82 deletions

View File

@@ -21,6 +21,12 @@ tags: $:/tags/text-slicer/slicer-rules
"dontRenderTag": true
}
},
{
"selector": "a",
"actions": {
"isAnchor": true
}
},
{
"selector": "address,blockquote,center,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,iframe,isindex,noframes,noscript,ol,pre,table,ul",
"actions": {
@@ -30,7 +36,7 @@ tags: $:/tags/text-slicer/slicer-rules
}
},
{
"selector": "code,em,i,dd,li,strike,strong,b,sub,sup,u",
"selector": "br,caption,code,col,colgroup,em,i,dd,li,strike,strong,b,sub,sup,u,tbody,td,tfoot,th,thead,tr",
"actions": {
}
},