Skip to content

Commit

Permalink
Edit area: fix paste text
Browse files Browse the repository at this point in the history
  • Loading branch information
riccio82 committed Dec 10, 2018
1 parent 4bbcd89 commit d49f065
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/js/cat_source/ui.tags.js
Expand Up @@ -141,11 +141,11 @@ $.extend(UI, {
.replace( /\&lt;\/div\>/gi, "</div>" )
.replace( /\&lt;br\>/gi, "<br />" )
.replace( /\&lt;br \/>/gi, "<br />" )
.replace( /\&lt;mark/gi, "<mark" )
.replace( /\&lt;mark /gi, "<mark " )
.replace( /\&lt;\/mark/gi, "</mark" )
.replace( /\&lt;ins/gi, "<ins" ) // For translation conflicts tab
.replace( /\&lt;ins /gi, "<ins " ) // For translation conflicts tab
.replace( /\&lt;\/ins/gi, "</ins" ) // For translation conflicts tab
.replace( /\&lt;del/gi, "<del" ) // For translation conflicts tab
.replace( /\&lt;del /gi, "<del " ) // For translation conflicts tab
.replace( /\&lt;\/del/gi, "</del" ) // For translation conflicts tab
.replace( /\&lt;br class=["\'](.*?)["\'][\s]*[\/]*(\&gt;|\>)/gi, '<br class="$1" />' )
.replace( /(&lt;\s*\/\s*(g|x|bx|ex|bpt|ept|ph|it|mrk)\s*&gt;)/gi, brTx2 );
Expand Down

0 comments on commit d49f065

Please sign in to comment.