diff --git a/CMakeLists.txt b/CMakeLists.txt index 936bcba..9153690 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (mastorss - VERSION 0.7.3 + VERSION 0.7.4 LANGUAGES CXX ) diff --git a/src/parse.cpp b/src/parse.cpp index 8fc87df..c9b5eac 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -83,7 +83,7 @@ std::vector parse_website(const string &xml) string content = ""; if (config[profile]["titles_as_cw"].asBool()) { - status.spoiler_text(title); + status.spoiler_text(Mastodon::API::unescape_html(title)); } else {