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