Using html line break in menu items breaks nav block

Cwicly Plugin version:


Using line break (<br/>) in menu items breaks site header with JS error:


Hi @yankiara,

Sorry to hear you’re experiencing trouble with this.

Unfortunately, I haven’t been able to reproduce this error on my end.

To investigate further, I have set up a demo instance.
Please log in with this and see the header template part and frontend.

Feel free to modify anything, to see if the error is reproducible.

Thank you in advance.

Hi @Araminta,

I could reproduce the issue on your test install by adding a line break on a menu item with dropdown:

1 Like

Thank you for pointing this out, @yankiara!

I can now confirm it is a bug.
Rest assured, we’ll have a fix for this as soon as possible.

Apologies for the inconvenience.

Once again, thank you for reporting this @yankiara!

This should now be fixed with 1.3.3.

Kindly let me know if this is the case on your end.

Thank you in advance.

Hi @Araminta,

Thanks for the fix, it seems to work perfectly on frontend now.

Just a small quirk backend: line break seems to be stripped from the menu item label.