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

Signing up for Microsoft account using gmail

How to Sign up for microsoft account using gmail I have a Gmail account and need to set it up as a Microsoft account.I wanted to index myzobara.com to  Bing Webmaster Tools.  This can be done by using you existing gmail account and password to log in. I used this link  https://signup.live.com  and simply used my normal gmail account where an email address was asked for. After filling out the needed information everything ran smoothly. All I had to do was verify my email.

Mzuzah Africa – The 2018 Experience

VISION: BUILDING SUSTAINABLE WEALTH Mzuzah africa’s mission is to inspire, empower and provide key tools for the economic, social and environmental sustainability of leaders in emerging economies. To build a collaborative bridge that cuts across geographic boundaries. They achieve this by providing the most collaborative platforms and practical tools necessary for socioeconomic and environmental sustainability and success. On the 8th March, 2018, in my last semester as undergraduate, through my university- University of Professional Studies- Accra (UPSA), i got invited to this exceptional,educative and inspiring conference. The first and perhaps the last conference i ever attended during my university days. Since 2010, pilot forums have been implemented across West Africa in Ghana, Nigeria and Cameroon. Over 800 participants consisting of multinational corporations, foundations, indigenous organisations and the civil society have participated. The Forum  engages the ...

SUPERVISORY COMMITTEE DUTIES & RESPONSIBILITIES

The Supervisory Committee of a Cooperative credit Union is appointed by the Board to: Act as the overseer of the credit union to protect and safeguard member assets Ensure that records are maintained properly, honestly and accurately Make sure that policies are established according to law and carried out faithfully Check to see that proper internal controls are in place Ensure that members receive the best possible service Who can be a Supervisory Committee Member? Must be a member of the credit union Must be bondable by the credit union’s surety bond company Cannot be related to any credit union employee Who cannot be a Supervisory Committee Member? Loan Officer Membership Officer Treasurer / Assistant Treasurer Secretary of the Board of Directors  How Does Someone Become a Supervisory Committee Member? The committee is appointed by the Board of Directors The number of committee members should not be less than three or more than five Terms are for o...