Fixed indentation in ReverseFormatter.

This commit is contained in:
Matteo Tomasini 2011-06-13 09:26:22 +02:00
parent 17d01657a7
commit 2a798da953
2 changed files with 6 additions and 3 deletions

View file

@ -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;