| 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); |
no test coverage detected