1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +00:00

Gestion du <p>

This commit is contained in:
Yan Maniez 2018-06-15 23:13:49 +02:00
parent aa6a757543
commit 7dadff58a8

View file

@ -50,6 +50,11 @@ namespace AideDeJeu.Tools
{
HtmlNodesToFormatedString(node.ChildNodes, fs, attributes | FontAttributes.Italic);
}
else if (node.NodeType == XmlNodeType.Element && node.Name == "p")
{
HtmlNodesToFormatedString(node.ChildNodes, fs, attributes);
fs.Spans.Add(new Span() { Text = "\r\n" });
}
else if (node.NodeType == XmlNodeType.Element)
{
HtmlNodesToFormatedString(node.ChildNodes, fs, attributes);