Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proto3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
protokollsystem
proto3
Commits
874e081d
Commit
874e081d
authored
7 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Only use escape_tex on tex-output in fork-titles
/close
#124
parent
d941646c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
parser.py
+2
-2
2 additions, 2 deletions
parser.py
with
2 additions
and
2 deletions
parser.py
+
2
−
2
View file @
874e081d
...
...
@@ -382,7 +382,7 @@ class Fork(Element):
return
stripped_name
in
config
.
PRIVATE_KEYWORDS
def
render
(
self
,
render_type
,
show_private
,
level
,
protocol
=
None
):
name_line
=
escape_tex
(
self
.
name
if
self
.
name
is
not
None
else
""
)
name_line
=
self
.
name
if
self
.
name
is
not
None
else
""
if
level
==
0
and
self
.
name
==
"
Todos
"
and
not
show_private
:
return
""
if
render_type
==
RenderType
.
latex
:
...
...
@@ -411,7 +411,7 @@ class Fork(Element):
else
:
return
r
"
\textit{[An dieser Stelle wurde intern protokolliert.]}
"
else
:
return
"
\n
"
.
join
([
name_line
,
begin_line
,
content_lines
,
end_line
])
return
"
\n
"
.
join
([
escape_tex
(
name_line
)
,
begin_line
,
content_lines
,
end_line
])
elif
render_type
==
RenderType
.
wikitext
:
title_line
=
"
{0} {1} {0}
"
.
format
(
"
=
"
*
(
level
+
2
),
name_line
)
content_parts
=
[]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment