diff --git a/code/nel/include/nel/gui/libwww.h b/code/nel/include/nel/gui/libwww.h index 64258608e..9c6579f1f 100644 --- a/code/nel/include/nel/gui/libwww.h +++ b/code/nel/include/nel/gui/libwww.h @@ -208,6 +208,7 @@ namespace NLGUI HTML_ATTR(P,QUICK_HELP_EVENTS), HTML_ATTR(P,QUICK_HELP_LINK), HTML_ATTR(P,NAME), + HTML_ATTR(P,STYLE), }; enum diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index b606a093d..efea31898 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -2281,8 +2281,8 @@ namespace NLGUI { newParagraph(PBeginSpace); pushStyle(); - if (present[HTML_BLOCK_STYLE] && value[HTML_BLOCK_STYLE]) - getStyleParams(value[HTML_BLOCK_STYLE], _Style); + if (present[MY_HTML_P_STYLE] && value[MY_HTML_P_STYLE]) + getStyleParams(value[MY_HTML_P_STYLE], _Style); } break; case HTML_PRE: diff --git a/code/nel/src/gui/libwww.cpp b/code/nel/src/gui/libwww.cpp index 2e9b4451a..f00a92749 100644 --- a/code/nel/src/gui/libwww.cpp +++ b/code/nel/src/gui/libwww.cpp @@ -213,6 +213,7 @@ namespace NLGUI HTML_ATTR(P,QUICK_HELP_EVENTS), HTML_ATTR(P,QUICK_HELP_LINK), HTML_ATTR(P,NAME), + HTML_ATTR(P,STYLE), { 0 } };