mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-12-27 21:35:41 +00:00
Off by one :(
This commit is contained in:
parent
e978d87b16
commit
1adff30ffa
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ namespace kamokan {
|
|||
std::string strip_tags_from_highlighted (const std::string& parPastie) {
|
||||
boost::string_view pastie(parPastie);
|
||||
auto beg_stripped = pastie.substr(pastie.find("<tt>") + 4);
|
||||
auto end_stripped = beg_stripped.substr(0, beg_stripped.size() - 11);
|
||||
auto end_stripped = beg_stripped.substr(0, beg_stripped.size() - 12);
|
||||
return std::string(end_stripped);
|
||||
}
|
||||
} //unnamed namespace
|
||||
|
|
Loading…
Reference in a new issue