Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
60452dce
Commit
60452dce
authored
Mar 22, 2017
by
Robin Sonnabend
Browse files
Mark internal sections in both versions
/close
#78
parent
c8565428
Changes
1
Hide whitespace changes
Inline
Side-by-side
parser.py
View file @
60452dce
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment