The bug came from bbcode parser which transforms \n with <br>.
So I just remove the br tag in bbcode parser before applying the mardown parser.
Fix#1480
* Change DLSite to String
Fix#1573
Plus it seems the filtering search for ES didn't work for anidbid, vndbid and vgmdb. Should be fixed now.
* Update helpers.go
* CSS for new upload form
* add torrent_name in translation
* Update CHANGELOG.md
* New upload form HTML, don't load kilo.js
* Update upload.jet.html
* Update main.css
* change placeholder of torrent name input
* Update upload.jet.html
* remove useless function call from upload
* responsive upload form
* Fix description being constantly bold in upload
* fix vertical align of labels in upload
* upload tags inputs in table too
* tag table styling & remove old upload tag styling
* Update main.css
* Update main.css
* Update main.css
* Update upload.jet.html
* fix flag misalignement in upload form
* Remove rules <div> from upload, provide temporary link to rules in faq (maybe will turn into a modal in the future?), remove useless input
* bigger upload button & no margin for upload rules text
* Update en-us.all.json
* Update CHANGELOG.md
* add ID to rules div
* Update upload.jet.html
* rollback the rollback
* fix classic.css padding
* remove </img> tag
* Update torrents.jet.html
* Fix html tag
* fix footer & ad showing over the TOS
* move setting & add it's explanation
* Update en-us.all.json
* include nav in listing directly instead of refine
* Update search.jet.html
* remove now useless css rules
* Update main.css
* Update base.jet.html
* exclude old navigation cookie from deletion
* add torrent uploaded total size to user profile
* Remove useless / that created html error
* Slightly bigger font for torrent name on view.html, padding fixes
* Set kilo.js to look for span class name instead of name to remove HTML error
* Change span name into class to remove html errors
* remove name attribute
* remove link to user profile is Anon or invalid userid
* fix duplicate class attribute
* remove useless center, remove useless attribute, remove useless yield errors & bad name attribute
* turn name attribute into ID
* JS changes to go along
* fix travis
* Delete OldNav.jet.html
* Create oldNav.jet.html
* turn <li> into <span>
* Update classic.css
* Update main.css
* Update g.css
* Update tomorrow.css
* Update tomorrow.css
* Update classic_colors.css
* Update view.jet.html
* Update en-us.all.json
* Update view.jet.html
* Update CHANGELOG.md
* fix travis
* Update classic.css
* Update view.jet.html
* Update main.css
* Update classic.css
* Update classic.css
* Update classic.css
* add link to user page & avatar in comment
* stylisation for avatar in main.css
* Update classic.css
* Fix wrongly placed ::before
* Add rule list to terms of service
* import rules on register
* fix refine-container-2's inputs
* Update base.jet.html
* Update en-us.all.json
* Update CHANGELOG.md
* GenNav changes to constantly put HTML for nav arrows regardless of page
* css changes for website nav etc etc
* add OldNav global variable
* Add OldNav to test.go
* Update publicSettings.go
* change OldNav's value type
* Old navigation in settings
* add OldNav in user variables
* add oldNav input handler in settings.go
* Change OldNav's default value into false
* Create OldNav.jet.html
* Update search.jet.html
* remove character that had nothing to do here
* fix wrong variable name
* fix worng variable name and travis
* Update classic.css
* Add sort order & type to old nav
* add toString() function in test
* add toString() function
* translation string for oldnav setting
* Use translation string in settings.jet.html
* fix few html errors
* ditto
* travis fix test
* remove useless charset
* remove useless things
* add spaces before attributes
* attempt at fixing travis 2
* fix wrong variable name
* Update classic.css
* fix travis plsss