Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CD DATA problem #9

Open
zachwise opened this issue May 1, 2012 · 1 comment
Open

CD DATA problem #9

zachwise opened this issue May 1, 2012 · 1 comment
Labels

Comments

@zachwise
Copy link
Member

zachwise commented May 1, 2012

Looks like wordpress is still mangling the CDDATA wrap
You can see it happening here: http://uumarblehead.org/tricent/?page_id=943
it appears like this:

<script type="text/javascript">// <![CDATA[
        var $ = jQuery;
        var timeline_config = {
            width: "100%", // OPTIONAL
            height: "650", // OPTIONAL
            maptype: "toner", // OPTIONAL
            source: "https://docs.google.com/spreadsheet/pub?key=0AgV8Hj2sidr8dDJldm03NWk5dFdvdTdZd2tzeTJxRkE&amp;output=html",
            css: "http://uumarblehead.org/tricent/wp-content/plugins/timeline-verite-shortcode/css/timeline.css",
            js: "http://uumarblehead.org/tricent/wp-content/plugins/timeline-verite-shortcode/js/locale/en.js"
        }
// ]]&gt;</script>
@ghost ghost assigned miguelpeixe May 1, 2012
@miguelpeixe
Copy link
Contributor

This is a WP bug, I recommend not using CDATA for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants