arrow_back Return

Rendering errors in ChordPro?

September 2, 2025
I have checked, double-checked, and triple checked my ChordPro text and I am sure that it is correct. But I think there is some kind of hidden character or something that is messing up the ChordPro render. Can anyone offer insight about this problem?

My code:
{title: You Are So Good}
{author: Liz Pullin}
{tempo: 150}
{time: 4/4}
{key: D}

{comment: Intro}
[|:][D] [|] [|][Dsus4] [|] [:|]

{comment: Verse 1a}
[D] Lord, would You come like the [D]wind
And blow through this [Dsus4]place
[D] Would You touch our [Dsus4]hearts so we’re not the [D]same
Lord, have Your [Dsus4]way

{comment: Interlude}
[|:][D] [|] [|][Dsus4] [|] [:|]

{comment: Verse 1b}
[D] Lord, would You come like the [D]wind
And blow through this [G]place
[D] Would You touch our [Dsus4]hearts so we’re not the [D]same
Lord, have Your [G]way

{comment: Chorus}
[D]Oh, [Dadd9]O-[D]oh[G]
You are [D/F#]so good to [G]me

{comment: Verse 2}
[D] Lord, You have [Dsus4]come like the [D]wind

And blown through this [G]place

[D] You’ve touched our [Dsus4]hearts and we’re not the [D]same

So Lord, have Your [G]way

{comment: Bridge}
[Bm7] I lift my [G]praise
I give You my [D]thanks
You have been so good to me[A]

The output has quite a few of the chords moved to after a word instead of before (where it occurs), in a smaller different font that is hard to read.
Any knowledge of this issue would be appreciated!
Posted by David
September 18, 2025
I copied your code into a new song and tested the output and I don't see anything odd like you're describing. Do you have some chords that are normal sized while others are small and not aligning properly?

I have had the occasional odd bug where I think maybe I've typed two "[" characters right next to each other but it's not actually visible on screen so it isn't until I save the code editor and look at the preview and find that it's all messed up. It takes a bit to find where the error is because it's literally invisible. Anyway, that doesn't sound like the same thing you're dealing with.
Posted by Ryan
September 29, 2025
The problem is likely that in your ChordPro code you have, on those malfunctioning lines, a non breakable white space character (NBSP) that could be carried over to your song ChordPro via copying it from somewhere. I have had this problem occurring in several song and it has been always the same.

To fix this you can re-write that specific line again OR edit that line so that you go and delete the white spaces between the words and type back in the space and then save and reload. Another option is if you are interested to see where exactly those special characters are is to copy the whole ChordPro notation to a text editor like Notepad++ which can show the special characters if needed. I have submitted a bug report for these cases earlier already and still seems to be unfixed.
Posted by Esa
September 29, 2025
By inspecting the code you provided the Verse 2 is looking interesting:
Normally line ends with Carriege Return (CR) and Line Feed (LF). Below I type in the non printable characters for you and there are few locations of [LS]. At the lines 2 and 3 and then at the start of the last line. I would remove those (LS) characters.

{comment: Verse 2}(CR)(LF)
[D] Lord, You have [Dsus4]come like the [D]wind(LS)(CR)(LF)
And blown through this [G]place(LS)(CR)(LF)
[D] You’ve touched our [Dsus4]hearts and we’re not the [D]same(CR)(LF)
(LS)So Lord, have Your [G]way(CR)(LF)
Posted by Esa
Login to post a comment
1