mirror of
https://github.com/friendica/friendica
synced 2024-12-26 10:54:39 +01:00
translate br with extra elements
This commit is contained in:
parent
70cc2fff6f
commit
03b95c9a09
2 changed files with 2 additions and 2 deletions
|
@ -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,"");
|
||||
|
|
|
@ -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,"");
|
||||
|
|
Loading…
Reference in a new issue