1

Uncaught SyntaxError when using Embedding

ISSUE:

When trying to embed Pyramid content the following type of error is shown:

Uncaught SyntaxError: Invalid regular expression: /[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-

Range out of order in character class

    at new RegExp (<anonymous>)

    at Object.<anonymous> (no-shell.2018.05.925.js:1)

    at n (no-shell.2018.05.925.js:1)

    at Object.<anonymous> (no-shell.2018.05.925.js:1)

    at n (no-shell.2018.05.925.js:1)

    at Object.<anonymous> (no-shell.2018.05.925.js:1)

    at n (no-shell.2018.05.925.js:1)

    at Object.<anonymous> (no-shell.2018.05.925.js:1)

    at n (no-shell.2018.05.925.js:1)

    at Object.<anonymous> (no-shell.2018.05.925.js:1)

Solution

Check to make sure that the below exits in your html header section and if it does not, try adding it:

 "<meta charset=”utf-8” />"

E.g:

<html>
 <head>
 <meta charset="UTF-8">
 </head>

Reply

null