Fixed: Html P element not using style attribute
--HG-- branch : develop
This commit is contained in:
parent
5b4b7893f8
commit
ab6467f64c
3 changed files with 4 additions and 2 deletions
|
@ -208,6 +208,7 @@ namespace NLGUI
|
||||||
HTML_ATTR(P,QUICK_HELP_EVENTS),
|
HTML_ATTR(P,QUICK_HELP_EVENTS),
|
||||||
HTML_ATTR(P,QUICK_HELP_LINK),
|
HTML_ATTR(P,QUICK_HELP_LINK),
|
||||||
HTML_ATTR(P,NAME),
|
HTML_ATTR(P,NAME),
|
||||||
|
HTML_ATTR(P,STYLE),
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -2281,8 +2281,8 @@ namespace NLGUI
|
||||||
{
|
{
|
||||||
newParagraph(PBeginSpace);
|
newParagraph(PBeginSpace);
|
||||||
pushStyle();
|
pushStyle();
|
||||||
if (present[HTML_BLOCK_STYLE] && value[HTML_BLOCK_STYLE])
|
if (present[MY_HTML_P_STYLE] && value[MY_HTML_P_STYLE])
|
||||||
getStyleParams(value[HTML_BLOCK_STYLE], _Style);
|
getStyleParams(value[MY_HTML_P_STYLE], _Style);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case HTML_PRE:
|
case HTML_PRE:
|
||||||
|
|
|
@ -213,6 +213,7 @@ namespace NLGUI
|
||||||
HTML_ATTR(P,QUICK_HELP_EVENTS),
|
HTML_ATTR(P,QUICK_HELP_EVENTS),
|
||||||
HTML_ATTR(P,QUICK_HELP_LINK),
|
HTML_ATTR(P,QUICK_HELP_LINK),
|
||||||
HTML_ATTR(P,NAME),
|
HTML_ATTR(P,NAME),
|
||||||
|
HTML_ATTR(P,STYLE),
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue