Unescape spoilered titles
This commit is contained in:
parent
cc12005a4b
commit
786dd9fb81
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (mastorss
|
project (mastorss
|
||||||
VERSION 0.7.3
|
VERSION 0.7.4
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ std::vector<Mastodon::Easy::Status> parse_website(const string &xml)
|
||||||
string content = "";
|
string content = "";
|
||||||
if (config[profile]["titles_as_cw"].asBool())
|
if (config[profile]["titles_as_cw"].asBool())
|
||||||
{
|
{
|
||||||
status.spoiler_text(title);
|
status.spoiler_text(Mastodon::API::unescape_html(title));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user