Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 04fb74c2 rédigé par Sorunome's avatar Sorunome
Parcourir les fichiers

fix html escaping, #94

parent 30dd16a0
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"; ...@@ -10,6 +10,10 @@ const EMOJI_SIZE = "1em";
const EMOJI_REGEX = /<:\w+:?([0-9]*)>/g; const EMOJI_REGEX = /<:\w+:?([0-9]*)>/g;
const MATRIX_TO_LINK = "https://matrix.to/#/"; const MATRIX_TO_LINK = "https://matrix.to/#/";
marked.setOptions({
sanitize: true,
});
export class MessageProcessorOpts { export class MessageProcessorOpts {
public domain: string; public domain: string;
constructor (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