Line Break Issue
-
Hey all,
I’ve had this problem for several years actually, and as I found a temporary fix, I never thought to ask anyone for a permanent solution.
[ Moderator note: moved to Fixing WordPress. ]
The issue I have is line breaks when certain characters are involved.
My website is based on music, and in each post, I publish tracklists for music mixes. The issue I am having though, is when I use these brackets “[]”. I don’t have the issue with these brackets “()”.
When using these brackets “[]”, line breaks fail, and I have to use the BR code to make a new line.
For example:
Here’s what I get when using the brackets without the BR code:
01. Artist - Trackname [Remix]02. Artist - Trackname[Original]03. Artist - Trackname[Remix]
Here’s what I get when using the brackets with the BR code:
01. Artist - Trackname [Remix] <br> 02. Artist - Trackname [Original] <br> 03. Artist - Trackname [Remix] <br>
Obviously, the BR code isn’t showing when the post is published, but I have to use that code to get the outcome I want.
I’m only having this issue with those specific brackets. Ideally, I want the output to be the second example, without having to use BR.
I hope I’ve explained it ok. Any help is appreciated.
Many thanks
- The topic ‘Line Break Issue’ is closed to new replies.