#881 text bold tag changed to '<strong>' from '<b>'

This commit is contained in:
akasima 2014-08-05 19:07:38 +09:00 committed by bnu
parent 49daa9d95d
commit 434c2b6ce9
3 changed files with 5 additions and 1 deletions

View file

@ -5205,6 +5205,8 @@ xe.XE_XHTMLFormatter = $.Class({
tag = tag.toLowerCase(); tag = tag.toLowerCase();
attrs = $.trim(attrs || ''); attrs = $.trim(attrs || '');
if(replace_tags[tag]!=undefined) tag = replace_tags[tag];
if (!closing) { if (!closing) {
if ($.inArray(tag,no_closing_tags) >= 0) { if ($.inArray(tag,no_closing_tags) >= 0) {
var len = attrs.length; var len = attrs.length;

View file

@ -5210,6 +5210,8 @@ xe.XE_XHTMLFormatter = $.Class({
tag = tag.toLowerCase(); tag = tag.toLowerCase();
attrs = $.trim(attrs || ''); attrs = $.trim(attrs || '');
if(replace_tags[tag]!=undefined) tag = replace_tags[tag];
if (!closing) { if (!closing) {
if ($.inArray(tag,no_closing_tags) >= 0) { if ($.inArray(tag,no_closing_tags) >= 0) {
var len = attrs.length; var len = attrs.length;

File diff suppressed because one or more lines are too long