gfroerli / web

Web application for the water sensor API (gfrör.li), written in Elm.
https://gfrör.li
GNU Affero General Public License v3.0
3 stars 1 forks source link

Handle links and newlines in sponsor description #40

Open dbrgn opened 6 years ago

dbrgn commented 6 years ago

They should both be converted to HTML.

rnestler commented 6 years ago

They should both be converted to HTML.

Or should the API server just deliver valid HTML?

dbrgn commented 6 years ago

That would be the other option :) I'd be a bit wary of that though, we would probably still have to sanitize the code. Therefore we gain little by putting markup in our server data.

On the other hand we could use markdown. But then again, converting just links and newlines would be easier.