#include "font_config.h"
#include "image.h"
#include "render_text.h"
-#include "types.h"
#include "util.h"
#include <dcp/raw_convert.h>
#include <dcp/warnings.h>
span += " " + extra_attribute;
}
span += ">";
+
+ boost::algorithm::replace_all(text, "&", "&");
+ boost::algorithm::replace_all(text, "<", "<");
+ boost::algorithm::replace_all(text, ">", ">");
+
span += text;
span += "</span>";
return span;