changeset 1890:20acc70355f3

latent fix for 165 - html validation error caused by superfluous dir="" attribute on editor textarea, also removed lang attribute
author Roger Haase <crosseyedpenguin@yahoo.com>
date Sat, 15 Dec 2012 21:20:08 -0700
parents fcc66aa27976
children cbaa6b764de5
files MoinMoin/templates/modify_text.html MoinMoin/templates/modify_text_html.html
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/modify_text.html	Sun Dec 09 14:14:16 2012 -0700
+++ b/MoinMoin/templates/modify_text.html	Sat Dec 15 21:20:08 2012 -0700
@@ -2,10 +2,6 @@
 
 {% macro data_editor(form, item_name) %}
 {{ base_editor(form) }}
-{% if direction %}
-    {{ gen.textarea(form['data_text'], lang=lang, dir=direction, rows=form.rows|string, cols=form.cols|string) }}
-{% else %}
-    {{ gen.textarea(form['data_text'], lang=lang, rows=form.rows|string, cols=form.cols|string) }}
-{% endif %}
+{{ gen.textarea(form['data_text'], rows=form.rows|string, cols=form.cols|string) }}
 <br />
 {% endmacro %}
--- a/MoinMoin/templates/modify_text_html.html	Sun Dec 09 14:14:16 2012 -0700
+++ b/MoinMoin/templates/modify_text_html.html	Sat Dec 15 21:20:08 2012 -0700
@@ -6,5 +6,5 @@
 {% endmacro %}
 
 {% macro data_editor(form, item_name) %}
-{{ gen.textarea(form['data_text'], class='ckeditor', lang=lang, dir=direction, rows=form.rows|string, cols=form.cols|string) }}
+{{ gen.textarea(form['data_text'], class='ckeditor', rows=form.rows|string, cols=form.cols|string) }}
 {% endmacro %}