Unescape spoilered titles

This commit is contained in:
tastytea 2018-08-26 20:08:41 +02:00
parent cc12005a4b
commit 786dd9fb81
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (mastorss
VERSION 0.7.3
VERSION 0.7.4
LANGUAGES CXX
)

View File

@ -83,7 +83,7 @@ std::vector<Mastodon::Easy::Status> 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
{