Woops, that's some inverted logic!

This commit is contained in:
Lirusaito
2019-02-01 10:13:07 -05:00
parent d20dbaa7d2
commit 0d22841da1

View File

@@ -4268,7 +4268,7 @@ void LLTextEditor::appendTextImpl(const std::string &new_text, const LLStyleSP s
{
std::string text = new_text;
static LLUICachedControl<bool> replace_links("SinguReplaceLinks");
bool is_link = style && !style->isLink(); // Don't search for URLs inside a link segment (STORM-358).
bool is_link = style && style->isLink(); // Don't search for URLs inside a link segment (STORM-358).
S32 part = (S32)LLTextParser::WHOLE;
if (mReadOnly && mParseHTML && !is_link) // Singu Note: Do not replace html if the user is going to edit it. (Like in profiles)