| Conditions | 4 |
| Paths | 5 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function toSyntax() |
||
| 28 | { |
||
| 29 | $doc = ''; |
||
| 30 | foreach ($this->subnodes as $subnode) { |
||
| 31 | if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) $doc .= "\n"; |
||
| 32 | $doc .= $subnode->toSyntax(); |
||
| 33 | if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) $doc .= "\n"; |
||
| 34 | } |
||
| 35 | return $doc; |
||
| 36 | } |
||
| 38 |