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:
parent
aa6a757543
commit
7dadff58a8
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue