Skip to main content

Special Characters must be escaped solved

PHP,WORDPRESS,DREAMWEAVER ERROR

Four character entity references deserve special mention since they are frequently used to escape special characters:
  • “&lt;” represents the < sign.
  • “&gt;” represents the > sign.
  • “&amp;” represents the & sign.
  • “&quot; represents the ” mark.
  • Let’s take an example of a sitelink search box:
    < script type=”application/ld+json”>
    {
    “@context”: “http://schema.org”,
    “@type”: “WebSite”,
    “url”: “https://www.akonnor.com/”,
    “potentialAction”: {
    “@type”: “SearchAction”,
    “target”: “https://query.akonnor.com/search?q={search_term_string}”,
    “query-input”: “required name=search_term_string”
    }
    }
    < /script>
    These when coded will give 4 error message or special characters must be escaped.
  • The correct code should be this

    “&lt;”script type=application/ld+json“&gt;”
    {
    “@context”: “http://schema.org”,
    “@type”: “WebSite”,
    “url”: “https://www.akonnor.com/”,
    “potentialAction”: {
    “@type”: “SearchAction”,
    “target”: “https://query.akonnor.com/search?q={search_term_string}”,
    “query-input”: “required name=search_term_string”
    }
    }
    “&lt;” /script“&gt;”

Comments

Popular posts from this blog

How to Enable Instagram Login Using Instagram API Key?

Instagram Login will work only for the administrator(s) of the Instagram app you have created, till you get your app approved for Social Login. Steps To Enable Instagram Login Navigate to  Instagram developer  page and login if you are not logged in already. Click  Register your Application  button. If this is your first application , register as developer by filling the information asked,  accept the API terms of use  and brand guidelines and click  Sign up  button as shown in the screenshot below.  If you are not seeing this page, skip to step 3 . Click  Register your Application  button again to proceed. Click  Register a New Client  button. In the  Details  section, fill the fields as described below Application Name:  Name of your application.  You can enter whatever name you like, but it’s recommended to enter your website or company name in this field . Description:  Descript...

Business Analysis Process Model Stages

Depending on the size and complexity of a project, before the project commences, it is important to begin with the business analysis phase. The process is generally divided into multiple steps with each step involving specific tasks to perform, principles to follow and documents to produce. This diagram below portrays the business analysis process model: Now let’s discuss each step: Step 1 – Get Oriented This first step is where much of the ground work for a project is covered. Whether a project is brand new or existing, it’s crucial for the business analyst to gather a significant amount of background information on the project. These are the conditions of the project that need to be determined at this stage: What domain is the project under? Financial, health, energy, hosting, etc. Is there enough information corresponding to the domain? If the answer is no, a business analyst would perform additional research about the project by spending time understanding the do’s and d...

CUMIS INSURANCE

The CUMIS Group share a common bond, which was fostered in the early days of credit union existence. It was the “Lesson of the Lineman” − the tragic death of a power company lineman, a Credit Union member, who borrowed $250 just two days before his fatal accident − that taught Credit Union pioneers the need for insurance protection in their operations. Out of a sense of obligation and loyalty to their fallen friend, two other linemen, who were co-makers of the loan, paid it out of their own limited savings. This tragedy triggered the creation of the CUNA Mutual Insurance Society in 1935 to serve the needs of North American Credit Unions. Its Canadian arm became CUMIS – the Credit Union Members Insurance Society. All alliances are based on mutual respect, trust, transparency, and shared values. Wherever you are across Canada, you have access to a dedicated relationship management team, which draws on its rich experience of serving approximately 375 credit unions with more...