HTML Symbols do not Work in an AMP Webpage

Using a Tick Symbol (Error When Using AMP)
Using a Tick Symbol ✔ (Error When Using AMP)

My special characters were not displaying correctly in AMP (Accelerated Mobile Pages) and I don’t know why? I created an HTML table that used a ‘tick’ symbol ✔. It initially worked fine, but when I switched to the AMP version of the page, it displayed the HTML code as ‘✓’ instead of the tick symbol ✔ (See the images below)? This is exactly the same table used, in both the AMP and non AMP version of the webpage. It fails to display the special characters in AMP?

What is AMP?

AMP originally comes from the acronym of Accelerated Mobile Pages. It’s goal is to provide a simple and robust web components framework. That provides optimized mobile web browsing and help web pages load faster. More information can be found on Wikipedia, or on the AMP website.


The Issue:

What the table looks like (non AMP).

Using a Tick Symbol
Using an HTML Decimal Code Tick ✔ Symbol

What the table looks like in AMP.

Using a Tick Symbol (AMP Error)
Using an HTML Name Code (Entity) Tick Symbol ✔ Causing an Error in AMP

I created a table using a ‘tick’ symbol ✔. It worked well, but when I switched to the AMP version of the page, it displayed the code ‘✓‘ instead of the tick symbol?


Where Did I Go Wrong?

I use Dreamweaver for creating my tables. It suggested using ✓ to create a tick symbol. It works fine in an ordinary web page, but not when using AMP.


How did I Solve the Issue?

I switched to using HTML Decimal Code✔‘ (or HTML Hexadecimal Code✔‘). This creates a ‘tick symbol’ ✔ and works great in AMP. Examples are shown below:

Before – Using an HTML Name Code (Entity) – This fails in AMP:

<td>&check;</td> = &check;

After – Using an HTML Decimal Code – This works in AMP:

<td>&#10003;</td> = ✓
<td>&#10004;</td> = ✔

Or, Using HTML Hexadecimal Code – This works in AMP:

<td>&#x2713;</td> = ✓
<td>&#x2714;</td> = ✔

Hope this helps…