Web Part property pane text field - issue with special characters

%3CLINGO-SUB%20id%3D%22lingo-sub-435055%22%20slang%3D%22en-US%22%3EWeb%20Part%20property%20pane%20text%20field%20-%20issue%20with%20special%20characters%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-435055%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20web%20part%20that%20allows%20users%20to%20configure%20text%20fields%20in%20the%20property%20pane%2C%20and%20this%20text%20is%20then%20displays%20on%20the%20web%20part.%26nbsp%3B%20This%20works%20well%20but%20for%20some%20reason%20when%20I%20type%20in%20certain%20characters%20that%20are%20special%20characters%20in%20HTML%20I%20get%20the%20corresponding%20coded%20version%20rather%20than%20the%20character%20itself.%26nbsp%3B%20For%20example%20typing%20in%20%26amp%3B%20displays%20%26amp%3Bamp%3B%20on%20the%20web%20part.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20an%20easy%20way%20for%20me%20to%20fix%20this%20so%20the%20correct%20characters%20display%20on-screen%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-435055%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I have a web part that allows users to configure text fields in the property pane, and this text is then displays on the web part.  This works well but for some reason when I type in certain characters that are special characters in HTML I get the corresponding coded version rather than the character itself.  For example typing in & displays & on the web part.

 

Is there an easy way for me to fix this so the correct characters display on-screen?

 

Thanks for your help.

0 Replies