| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """ |
||
| 14 | class LineBreakHtmlFormatter(HtmlFormatter): |
||
| 15 | """ |
||
| 16 | HtmlFormatter for generating HTML code for a linebreak. |
||
| 17 | """ |
||
| 18 | |||
| 19 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 20 | def generate(self, node, file): |
||
| 21 | """ |
||
| 22 | Generates the HTML code for a smile node. |
||
| 23 | |||
| 24 | :param sdoc.sdoc2.node.LineBreakNode.LineBreakNode node: The linebreak node. |
||
| 25 | :param file file: The output file. |
||
| 26 | """ |
||
| 27 | file.write('</br>') |
||
| 28 | |||
| 32 |