Merge pull request #3070 from tsiegleauq/issue3069-stroke-out-text
Add strike command to HTML PDF parser (Fixes #3069)
This commit is contained in:
commit
4fd70f7eff
@ -369,6 +369,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
"h5": ["font-size:10"],
|
"h5": ["font-size:10"],
|
||||||
"h6": ["font-size:10"],
|
"h6": ["font-size:10"],
|
||||||
"a": ["color:blue", "text-decoration:underline"],
|
"a": ["color:blue", "text-decoration:underline"],
|
||||||
|
"strike": ["text-decoration:line-through"],
|
||||||
"del": ["color:red", "text-decoration:line-through"],
|
"del": ["color:red", "text-decoration:line-through"],
|
||||||
"ins": ["color:green", "text-decoration:underline"]
|
"ins": ["color:green", "text-decoration:underline"]
|
||||||
},
|
},
|
||||||
@ -546,6 +547,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
case "i":
|
case "i":
|
||||||
case "ins":
|
case "ins":
|
||||||
case "del":
|
case "del":
|
||||||
|
case "strike":
|
||||||
currentParagraph = parseChildren(alreadyConverted, element, currentParagraph, styles.concat(elementStyles[nodeName]), diff_mode);
|
currentParagraph = parseChildren(alreadyConverted, element, currentParagraph, styles.concat(elementStyles[nodeName]), diff_mode);
|
||||||
break;
|
break;
|
||||||
case "table":
|
case "table":
|
||||||
|
Loading…
Reference in New Issue
Block a user