Hi Joe, I copied your code into a new BBEdit HTML document. When I added a semicolon to the end of that entity (as is customary for entities), the syntax checker found no errors, and the emoji rendered as expected.
Hope this helps. --Kerri On Mon, Feb 17, 2020 at 10:13 AM jgill <[email protected]> wrote: > Hi, > > I'm writing a web page that inserts specific emoji into a text box with > Javascript. > > <a href="javascript:doEmoji('🔶')">🔶</a> > > This works perfectly as expected but BBEdit is insisting that I need to > change the ampersands to & and if I format the page, it changes all my > ampersands to & and breaks the Javascript. > > How can I write this to make the syntax checker happy? > > Tia. > > Joe > > -- > This is the BBEdit Talk public discussion group. If you have a feature > request or need technical support, please email "[email protected]" > rather than posting here. Follow @bbedit on Twitter: < > https://twitter.com/bbedit> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/ef2e9d15-222e-4aab-b8bc-686a8d8a40d4%40googlegroups.com > <https://groups.google.com/d/msgid/bbedit/ef2e9d15-222e-4aab-b8bc-686a8d8a40d4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAEmA4ua_XOAm0N%2BgTqYd%3DAm%3DntUrcydq51f4jdHMyrRSoCyGUA%40mail.gmail.com.
