Fixed indentation in ReverseFormatter.
This commit is contained in:
parent
17d01657a7
commit
2a798da953
2 changed files with 6 additions and 3 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("3.0.4.573")]
|
[assembly: AssemblyVersion("3.0.4.574")]
|
||||||
[assembly: AssemblyFileVersion("3.0.4.573")]
|
[assembly: AssemblyFileVersion("3.0.4.574")]
|
|
@ -255,9 +255,12 @@ namespace ScrewTurn.Wiki {
|
||||||
break;
|
break;
|
||||||
case "span":
|
case "span":
|
||||||
if(node.Attributes["style"] != null) {
|
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);
|
result += ProcessChild(node.ChildNodes);
|
||||||
}
|
}
|
||||||
|
if(node.Attributes["style"].Value.Replace(" ", "").ToLowerInvariant().Contains("white-space:pre")) {
|
||||||
|
result += ": ";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(node.Attributes.Count > 0) {
|
if(node.Attributes.Count > 0) {
|
||||||
XmlAttributeCollection attributeCollection = node.Attributes;
|
XmlAttributeCollection attributeCollection = node.Attributes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue