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
cde166a0
Commit
cde166a0
authored
May 28, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "i18n lon-capa problem explanation title"
This reverts commit
3e0342cb
.
parent
a3b4a251
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
common/lib/xmodule/xmodule/js/src/problem/edit.coffee
+1
-4
No files found.
common/lib/xmodule/xmodule/js/src/problem/edit.coffee
View file @
cde166a0
...
...
@@ -201,8 +201,6 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
#
@
markdownToXml
:
(
markdown
)
->
toXml
=
`
function
(
markdown
)
{
//
Translators
:
This
is
the
title
of
the
text
explaining
a
problem
var
explanation_title
=
gettext
(
"Explanation"
);
var
xml
=
markdown
,
i
,
splits
,
scriptFlag
;
...
...
@@ -350,9 +348,8 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
});
//
replace
explanations
xml
=
xml
.
replace
(
/\[explanation\]\n?([^\]]*)\[\/?explanation\]/gmi
,
function
(
match
,
p1
)
{
var
selectString
=
'<solution>
\n
<div class="detailed-solution">
\n
'
+
explanation_title
+
'
\n\n
'
+
p1
+
'
\n
</div>
\n
</solution>'
;
var
selectString
=
'<solution>
\n
<div class="detailed-solution">
\n
Explanation
\n\n
'
+
p1
+
'
\n
</div>
\n
</solution>'
;
return
selectString
;
});
...
...
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