Replace \r\n with <br> in bio
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