From c87eb08b1ec825a6d1dbc13709f413cb7fa80df2 Mon Sep 17 00:00:00 2001 From: Christina Roberts Date: Wed, 12 Dec 2012 12:57:31 -0500 Subject: [PATCH] Bug fix for Lighthouse #22. html names are automatically converted to the symbols they describe. --- cms/templates/widgets/html-edit.html | 2 +- common/lib/xmodule/jasmine_test_runner.html.erb | 1 + .../js/fixtures/html-edit-formattingbug.html | 8 ++++++++ .../xmodule/js/spec/html/edit_spec.coffee | 17 +++++++++++++++++ .../lib/xmodule/xmodule/js/src/html/edit.coffee | 9 +++++---- 5 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 common/lib/xmodule/xmodule/js/fixtures/html-edit-formattingbug.html create mode 100644 common/lib/xmodule/xmodule/js/spec/html/edit_spec.coffee diff --git a/cms/templates/widgets/html-edit.html b/cms/templates/widgets/html-edit.html index 9f7196b6e4..6e3e17ee37 100644 --- a/cms/templates/widgets/html-edit.html +++ b/cms/templates/widgets/html-edit.html @@ -1,4 +1,4 @@ <%include file="metadata-edit.html" />
- +
${data}
diff --git a/common/lib/xmodule/jasmine_test_runner.html.erb b/common/lib/xmodule/jasmine_test_runner.html.erb index edf4b43c2c..be5089f133 100644 --- a/common/lib/xmodule/jasmine_test_runner.html.erb +++ b/common/lib/xmodule/jasmine_test_runner.html.erb @@ -12,6 +12,7 @@ +