diff options
author | Richard Linden <none@none> | 2010-07-15 10:20:06 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-07-15 10:20:06 -0700 |
commit | 2c722547ea57c1510a82200242a3ccff2e505d17 (patch) | |
tree | 3284e93e2648e026d94846b863feeea10ce23ee9 /indra/llui/lltextbase.cpp | |
parent | be299644e3448ad2d613b97aba478c5807f346ec (diff) |
changed allow_html to parse_urls to be clearer about its meaning
allow_html still supported as alternate
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index ed03645944..dd0b7ebad1 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -167,11 +167,12 @@ LLTextBase::Params::Params() font_shadow("font_shadow"), wrap("wrap"), use_ellipses("use_ellipses", false), - allow_html("allow_html", false), + parse_urls("parse_urls", false), parse_highlights("parse_highlights", false) { addSynonym(track_end, "track_bottom"); addSynonym(wrap, "word_wrap"); + addSynonym(parse_urls, "allow_html"); } @@ -209,7 +210,7 @@ LLTextBase::LLTextBase(const LLTextBase::Params &p) mPlainText ( p.plain_text ), mWordWrap(p.wrap), mUseEllipses( p.use_ellipses ), - mParseHTML(p.allow_html), + mParseHTML(p.parse_urls), mParseHighlights(p.parse_highlights), mBGVisible(p.bg_visible), mScroller(NULL), |