Skip to content

Replace \r\n with <br> in bio

An Darna requested to merge andarna/pleroma:patches into develop

This patch simply replaces \r\n with <br> in the bio, nothing more:

-        Map.put(params, "bio", bio)
+        bio_brs = Regex.replace(~r/\r\n/,bio,"<br>")
+        Map.put(params, "bio", bio_brs)

The only file to merge is web/twitter_api/twitter_api_controller.ex

Merge request reports