This project is read-only.

Strange Text in HTML Text Fields

Topics: Customizing Orchard, Troubleshooting
Nov 14, 2012 at 8:51 PM
Edited Nov 14, 2012 at 8:55 PM

Strange issue I have noticed after I installed Orchard 1.6 from 1.5.2. I have a content type that uses HTML Text Fields so that I can format the structure in whatever way I need using HTML. The issue I am having is that when I look at the content item in the site's front-end, I get "$1" following any place with a break line tag. In the source it looks like:  

<br />$1

It looks fine on the back-end on the creation side of it, just shows it like this on the front end. Curious if anyone else is having this issue. Thanks in advance for your help in this.

Nov 15, 2012 at 3:26 PM

Any ideas anyone?

Nov 16, 2012 at 6:27 PM

This is a bug that's fixed in the current 1.x build. is the fix, that you can apply to your local copy of Orchard. It's a very simple patch.