lpdumas / gw2cartographers

A Guild Wars 2 map project
gw2cartographers.com
19 stars 8 forks source link

\n => <br /> for marker description textarea #52

Closed lpdumas closed 12 years ago

lpdumas commented 12 years ago

Nicer format for the description of points.

replace(/\n/g, "<br />"); on save should do the trick

jsilvestre commented 12 years ago

This could be done in the config generation aswell. What do you prefer ?

lpdumas commented 12 years ago

For the result of the edit to be live, i think it's best if we do its client side. So when the save button is clicked, the user can see his modification.

On 2012-07-27, at 1:44 PM, Joseph Silvestre wrote:

This could be done in the config generation aswell. What do you prefer ?


Reply to this email directly or view it on GitHub: https://github.com/lpdumas/gw2cartographers/issues/52#issuecomment-7311509