Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 38edb58d rédigé par Will Hunt's avatar Will Hunt Validation de GitHub
Parcourir les fichiers

Merge pull request #95 from Sorunome/develop

fix html escaping, #94
parents 30dd16a0 04fb74c2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -10,6 +10,10 @@ const EMOJI_SIZE = "1em";
const EMOJI_REGEX = /<:\w+:?([0-9]*)>/g;
const MATRIX_TO_LINK = "https://matrix.to/#/";
marked.setOptions({
sanitize: true,
});
export class MessageProcessorOpts {
public domain: string;
constructor (domain: string) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter