Skip to content

h5.u.str.escapeHtmlでシングルクウォートを'でエスケープしているが、これを'でエスケープする #296

@fukudayasuo

Description

@fukudayasuo

'の場合、IE8-だとシングルクウォートが表示されない。

document.write(''');

結果

  • IE8-の場合: '
  • その他ブラウザ: '

'ではなく、数値参照の'にエスケープする。

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions