miguelfreitas / twister-html

twister HTML + Javascript User Interface
MIT License
229 stars 138 forks source link

Make Description in Profile Multiline #277

Closed black-puppydog closed 8 years ago

black-puppydog commented 9 years ago

The "input-description" field in profile-edit.html already supports newline characters, and there's really no reason to not give users the possibility to enter them by hand, too, is there? As a complete HTML n00b I just replaced the tag with and I already got something usable, although obviously the style was messed up. But anyone with a hint of HTML experience should be able to do this in a second, no?

kseistrup commented 9 years ago

In python it would be something like

   desc = desc.replace('\n', '<br/>')
slr commented 8 years ago

ok, it's fixed via https://github.com/miguelfreitas/twister-html/commit/f8b8b777a11a76f089bf8471808c857f5640c14b and https://github.com/miguelfreitas/twister-html/commit/904c9315fcab99a3cd368c8613b099defdbe9020

slr commented 8 years ago

reopen until it will be merged into master