diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-25 04:58:38 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-25 04:58:38 +0300 |
| commit | c38061a9904e9992d53f7cdf2ab9bf6e789cf0de (patch) | |
| tree | ae0e23354eb1ed30849b54ed7c2e466b7376aaed | |
| parent | 0649884d3c9ceeef5515d621e9867dfc08df59ba (diff) | |
help me jesus
HTML gotta be like escaped n shit
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 75ce54db..ace957ad 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -2102,6 +2102,8 @@ QString Courtroom::filter_ic_text(QString p_text, bool colorize, int pos, int de pos += appendage.size(); } + //Current issue: does not properly escape html stuff. + //Solution: probably parse p_text and export into a different string separately, perform some mumbo jumbo to properly adjust string indexes. while (check_pos < p_text.size()) { f_character = p_text.at(check_pos); |
