6
2
Fork 0
espelhamento de https://github.com/friendica/friendica sincronizado 2025-09-01 21:11:11 +02:00

translate br with extra elements

Esse commit está contido em:
friendica 2012-03-26 16:56:44 -07:00
commit 03b95c9a09
2 arquivos alterados com 2 adições e 2 exclusões

Ver arquivo

@ -150,7 +150,7 @@
rep(/<blockquote[^>]*>/gi,"[quote]");
rep(/<\/blockquote>/gi,"[/quote]");
rep(/<hr \/>/gi,"[hr]");
rep(/<br \/>/gi,"\n\n");
rep(/<br (.*?)\/>/gi,"\n\n");
rep(/<br\/>/gi,"\n\n");
rep(/<br>/gi,"\n");
rep(/<p>/gi,"");

Ver arquivo

@ -150,7 +150,7 @@
rep(/<blockquote[^>]*>/gi,"[quote]");
rep(/<\/blockquote>/gi,"[/quote]");
rep(/<hr \/>/gi,"[hr]");
rep(/<br \/>/gi,"\n\n");
rep(/<br (.*?)\/>/gi,"\n\n");
rep(/<br\/>/gi,"\n\n");
rep(/<br>/gi,"\n");
rep(/<p>/gi,"");