by ColonelFailure » Wed Jul 07, 2021 6:10 pm
Anyone know how to add linebreaks to user-submitted news in an online league?
Tried
- Code: Select all
<br>
and
- Code: Select all
\n
with no joy (obviously just using a carriage return does nothing.)
-
ColonelFailure
- Junior Member
-
- Posts: 4
- Joined: Wed Jul 07, 2021 6:07 pm
by AKH » Mon Jul 12, 2021 11:39 am
I think its parsed in a way to prevent code injection. It used to be that </br> and </b> would work but cannot remember if we changed it - maybe test those.
-
AKH
- Moderator
-
- Posts: 1143
- Joined: Fri Oct 09, 2015 4:15 pm
by ColonelFailure » Sun Jul 18, 2021 4:50 am
</br> does the job. Thanks.
-
ColonelFailure
- Junior Member
-
- Posts: 4
- Joined: Wed Jul 07, 2021 6:07 pm
Return to DDS: Pro Football 2021 General Discussion
Who is online
Users browsing this forum: No registered users and 16 guests