Fixed indentation in ReverseFormatter.
This commit is contained in:
parent
17d01657a7
commit
2a798da953
2 changed files with 6 additions and 3 deletions
|
@ -255,9 +255,12 @@ namespace ScrewTurn.Wiki {
|
|||
break;
|
||||
case "span":
|
||||
if(node.Attributes["style"] != null) {
|
||||
if(node.Attributes["style"].Value.Replace(" ", "").Contains("font-weight:normal")) {
|
||||
if(node.Attributes["style"].Value.Replace(" ", "").ToLowerInvariant().Contains("font-weight:normal")) {
|
||||
result += ProcessChild(node.ChildNodes);
|
||||
}
|
||||
if(node.Attributes["style"].Value.Replace(" ", "").ToLowerInvariant().Contains("white-space:pre")) {
|
||||
result += ": ";
|
||||
}
|
||||
}
|
||||
if(node.Attributes.Count > 0) {
|
||||
XmlAttributeCollection attributeCollection = node.Attributes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue