Skip to content

Commit

Permalink
ptext のescape処理を無効化
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikemokuMK committed Feb 2, 2021
1 parent 0734fd3 commit 57a2844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tyrano/plugins/kag/kag.tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ tyrano.plugin.kag.tag.ptext = {
//上書き指定
if (pm.overwrite == "true" && pm.name != "") {
if ($("." + pm.name).length > 0) {
$("." + pm.name).html($.escapeHTML(pm.text));
$("." + pm.name).html(pm.text);

//サイズとか位置とかも調整できるならやっとく
if(pm.x!=0){
Expand Down Expand Up @@ -2360,7 +2360,7 @@ tyrano.plugin.kag.tag.ptext = {
//オブジェクトにクラス名をセットします
$.setName(tobj, pm.name);

tobj.html($.escapeHTML(pm.text));
tobj.html(pm.text);

this.kag.setStyles(tobj, font_new_style);

Expand Down
4 changes: 2 additions & 2 deletions tyrano/plugins/kag/kag.tag_ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ tyrano.plugin.kag.tag.chara_ptext = {

if (cpm) {
//キャラクター名出力
$("." + this.kag.stat.chara_ptext).html($.escapeHTML(cpm.jname));
$("." + this.kag.stat.chara_ptext).html(cpm.jname);

//色指定がある場合は、その色を指定する。
if (cpm.color != "") {
Expand Down Expand Up @@ -1489,7 +1489,7 @@ tyrano.plugin.kag.tag.chara_ptext = {

} else {
//存在しない場合はそのまま表示できる
$("." + this.kag.stat.chara_ptext).html($.escapeHTML(pm.name));
$("." + this.kag.stat.chara_ptext).html(pm.name);

//存在しない場合は全員の明度を下げる。
if (this.kag.stat.chara_talk_focus != "none") {
Expand Down

0 comments on commit 57a2844

Please sign in to comment.