mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Remove warning from self closing tags, as it handles list items correctly.
This commit is contained in:
parent
cf8883fdd1
commit
0e4222e5af
@ -323,8 +323,7 @@ String BBCodeParserTag::to_string(const int level) {
|
|||||||
|
|
||||||
if (tags.size() != 0) {
|
if (tags.size() != 0) {
|
||||||
s.append_repeat(" ", level);
|
s.append_repeat(" ", level);
|
||||||
s += "(!SELF CLOSING TAG HAS TAGS!)\n";
|
|
||||||
|
|
||||||
for (int i = 0; i < tags.size(); ++i) {
|
for (int i = 0; i < tags.size(); ++i) {
|
||||||
s += tags[i]->to_string(level + 1) + "\n";
|
s += tags[i]->to_string(level + 1) + "\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user