MCPcopy Create free account
hub / github.com/Uncodin/bypass / parsedCodeSpan

Method parsedCodeSpan

src/parser.cpp:269–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 int Parser::parsedCodeSpan(struct buf *ob, struct buf *text) {
270 if (text && text->size > 0) {
271 Element codeSpan;
272 codeSpan.setType(CODE_SPAN);
273 codeSpan.text.assign(text->data, text->data + text->size);
274 createSpan(codeSpan, ob);
275 }
276 return 1;
277 }
278
279 int Parser::parsedLinebreak(struct buf *ob) {
280 eraseTrailingControlCharacters(TWO_SPACES);

Callers 1

rndr_codespanFunction · 0.80

Calls 1

setTypeMethod · 0.80

Tested by

no test coverage detected