Skip to content

Commit 70edb77

Browse files
author
adfhkjafsdk
committed
fix style glitch: use space for indentation
1 parent 5e22925 commit 70edb77

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/emitfromevents.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,19 @@ void EmitFromEvents::BeginNode() {
118118
void EmitFromEvents::EmitProps(const std::string& tag, anchor_t anchor) {
119119
if (!tag.empty() && tag != "?" && tag != "!" && tag != "!!") {
120120
if (tag[0] == '!') {
121-
auto prefix_end = tag.begin() + 1;
122-
while (prefix_end != tag.end() && *prefix_end != '!') {
123-
++prefix_end;
124-
}
125-
if (prefix_end == tag.begin() + 1) {
121+
auto prefix_end = tag.begin() + 1;
122+
while (prefix_end != tag.end() && *prefix_end != '!') {
123+
++prefix_end;
124+
}
125+
if (prefix_end == tag.begin() + 1) {
126126
m_emitter << SecondaryTag(std::string(tag.begin() + 2, tag.end()));
127127
} else if (prefix_end == tag.end()) {
128128
m_emitter << LocalTag(std::string(tag.begin() + 1, tag.end()));
129129
} else if (prefix_end + 1 != tag.end()){
130-
m_emitter << LocalTag(std::string(tag.begin() + 1, prefix_end), std::string(prefix_end + 1, tag.end()));
131-
} else {
132-
m_emitter << VerbatimTag(tag);
133-
}
130+
m_emitter << LocalTag(std::string(tag.begin() + 1, prefix_end), std::string(prefix_end + 1, tag.end()));
131+
} else {
132+
m_emitter << VerbatimTag(tag);
133+
}
134134
} else {
135135
m_emitter << VerbatimTag(tag);
136136
}

0 commit comments

Comments
 (0)