alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

&..; symbols and html tags within a displayed label are being escaped #139

Closed ccav01 closed 6 years ago

ccav01 commented 6 years ago

Nevermind, it's react doing it not your code. My apologies, close this.

alsoscotland commented 6 years ago

@ccav01 no worries. you might be able to solve the problem with https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml in a custom template

ccav01 commented 6 years ago

Yep, I found that right after I sent the notice. :) Thanks for touching base with me. I'm going to try a custom option template that returns <span dangerously... and see if it makes it through.

On Thu, Feb 1, 2018 at 2:05 PM, Scotland Stephenson < notifications@github.com> wrote:

Closed #139 https://github.com/alsoscotland/react-super-select/issues/139.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alsoscotland/react-super-select/issues/139#event-1453776330, or mute the thread https://github.com/notifications/unsubscribe-auth/APMUMGD1GCyakaijnbwHrcAeJT787tuyks5tQhjygaJpZM4R0xC4 .