Skip to content

Commit

Permalink
fixed conversions from html in geshi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Jul 3, 2019
1 parent bbba8be commit e1d3a36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckeditor/plugins/geshi/dialogs/geshi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ckeditor/plugins/geshi/dialogs/geshi.js.unc
Expand Up @@ -171,8 +171,8 @@ CKEDITOR.dialog.add( 'geshiDialog', function( editor ) {


var dialog = this, retval; var dialog = this, retval;
var text = dialog.getValueOf( 'tab-basic', 'geshi' ); var text = dialog.getValueOf( 'tab-basic', 'geshi' );
text = text.replace(/</,'&lt;'); text = text.replace(/</gm,'&lt;');
text = text.replace(/>/,'&gt;'); text = text.replace(/>/gm,'&gt;');
var which = dialog.getValueOf( 'tab-basic', 'which' ); var which = dialog.getValueOf( 'tab-basic', 'which' );


var p_lang = dialog.getValueOf( 'tab-basic', 'ckg_geshi_lang' ); var p_lang = dialog.getValueOf( 'tab-basic', 'ckg_geshi_lang' );
Expand Down

0 comments on commit e1d3a36

Please sign in to comment.