Added some tests and fixed extra <br>

This commit is contained in:
Cristian Trapattoni 2011-03-03 17:53:19 +01:00
parent fc13759baf
commit 39ec1e3dc0
2 changed files with 7 additions and 5 deletions

View file

@ -351,12 +351,12 @@ namespace ScrewTurn.Wiki {
result += "\r\n" + "(((" + processChild(node.ChildNodes) + ")))\r\n";
}
if(attName.Value.ToString() == "imageleft") {
result += "\r\n" + "[imageleft" + processChildImage(node.ChildNodes) + "]\r\n";
result += "[imageleft" + processChildImage(node.ChildNodes) + "]\r\n";
}
if(attName.Value.ToString() == "imageright")
result += "\r\n" + "[imageright" + processChildImage(node.ChildNodes) + "]\r\n";
result += "[imageright" + processChildImage(node.ChildNodes) + "]\r\n";
if(attName.Value.ToString() == "image")
result += "\r\n" + "[image" + processChildImage(node.ChildNodes) + "]\r\n";
result += "[image" + processChildImage(node.ChildNodes) + "]\r\n";
}
}
else