1
0
Fork 0
forked from gitea/nas

Merge commit 'c1e70a2072' into kb_migration_development

This commit is contained in:
KMY 2023-05-20 22:00:28 +09:00
commit dd05f2b58c
15 changed files with 89 additions and 43 deletions

View file

@ -1,7 +1,7 @@
import * as html from '../html';
describe('html', () => {
describe('unsecapeHTML', () => {
describe('unescapeHTML', () => {
it('returns unescaped HTML', () => {
const output = html.unescapeHTML('<p>lorem</p><p>ipsum</p><br>&lt;br&gt;');
expect(output).toEqual('lorem\n\nipsum\n<br>');