Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
474ad1a0
Commit
474ad1a0
authored
Mar 16, 2017
by
Attiya Ishaque
Committed by
GitHub
Mar 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14693 from edx/ai/TNL-6188-escaping
TNL-6188 Escaping in course outline section & subsection.
parents
173e5922
abcbb094
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/templates/courseware/accordion.html
+2
-2
No files found.
lms/templates/courseware/accordion.html
View file @
474ad1a0
...
...
@@ -19,7 +19,7 @@ else:
<a
href=
"#${chapter['display_id']}-child"
role=
"button"
class=
"button-chapter chapter ${active_class}"
id=
"${chapter['display_id']}-parent"
aria-controls=
"${chapter['display_id']}-child"
aria-expanded=
"false"
>
<span
class=
"group-heading ${active_class}"
aria-label=
"${aria_label}"
>
<span
class=
"icon fa fa-caret-right"
aria-hidden=
"true"
></span>
${
chapter['display_name']
}
${
HTML(chapter['display_name'])
}
</span>
</a>
<div
class=
"chapter-content-container"
id=
"${chapter['display_id']}-child"
tabindex=
"-1"
role=
"region"
aria-label=
"${chapter['display_name']} submenu"
>
...
...
@@ -27,7 +27,7 @@ else:
% for section in chapter['sections']:
<div
class=
"menu-item ${'active' if 'active' in section and section['active'] else ''} ${'graded' if 'graded' in section and section['graded'] else ''}"
>
<a
class=
"accordion-nav"
href=
"${reverse('courseware_section', args=[course_id, chapter['url_name'], section['url_name']])}"
>
<p
class=
"accordion-display-name"
>
${
section['display_name']
} ${Text(_('{span_start}current section{span_end}')).format(
<p
class=
"accordion-display-name"
>
${
HTML(section['display_name'])
} ${Text(_('{span_start}current section{span_end}')).format(
span_start=HTML('
<span
class=
"sr"
>
'),
span_end=HTML('
</span>
'),
) if 'active' in section and section['active'] else ''}
</p>
...
...
Write
Preview
Markdown
is supported
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