From 786dd9fb81b5e16029304701597a8b46535af659 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 26 Aug 2018 20:08:41 +0200 Subject: [PATCH] Unescape spoilered titles --- CMakeLists.txt | 2 +- src/parse.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {