2015-04-16 19:05:59 +00:00
|
|
|
class unescaped: public mstch::object {
|
|
|
|
public:
|
|
|
|
unescaped() {
|
2015-04-21 13:04:11 +00:00
|
|
|
register_methods(this, {{"title", &unescaped::title}});
|
2015-04-16 19:05:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mstch::node title() {
|
|
|
|
return std::string{"Bear > Shark"};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-04-17 00:07:14 +00:00
|
|
|
const auto unescaped_data = std::make_shared<unescaped>();
|