Skip to content
Snippets Groups Projects
Commit 60452dce authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Mark internal sections in both versions

/close #78
parent c8565428
No related branches found
No related tags found
No related merge requests found
......@@ -355,10 +355,14 @@ class Fork(Element):
return "\n".join([begin_line, content_lines, end_line])
elif self.test_private(self.name):
if show_private:
return content_lines
# font: \fontfamily{lmr}\selectfont
return (r"\textit{Interner Abschnitt:" + "\n"
+ r"\begin{itemize}" + "\n"
+ content_lines + "\n"
+ r"\end{itemize}}")
else:
# todo: bessere Formulierung finden
return "An dieser Stelle fand eine interne Diskussion statt."
return r"\textit{[An dieser Stelle wurde intern protokolliert.]}"
else:
return "\n".join([name_line, begin_line, content_lines, end_line])
elif render_type == RenderType.wikitext:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment