mirror of https://github.com/vector-im/riot-web
comment out more old draft stuff
parent
ad7782bc22
commit
c5676eef89
|
@ -112,7 +112,7 @@ export function charactersToImageNode(alt, useSvg, ...unicode) {
|
||||||
/>;
|
/>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
export function processHtmlForSending(html: string): string {
|
export function processHtmlForSending(html: string): string {
|
||||||
const contentDiv = document.createElement('div');
|
const contentDiv = document.createElement('div');
|
||||||
contentDiv.innerHTML = html;
|
contentDiv.innerHTML = html;
|
||||||
|
@ -146,6 +146,7 @@ export function processHtmlForSending(html: string): string {
|
||||||
|
|
||||||
return contentHTML;
|
return contentHTML;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Given an untrusted HTML string, return a React node with an sanitized version
|
* Given an untrusted HTML string, return a React node with an sanitized version
|
||||||
|
|
Loading…
Reference in New Issue