Skip to content

Title needs to be encoded before used in the disqus_title variable #14

@andydrizen

Description

@andydrizen

As the title is passed directly into the disqus_title, any single quotes within the title will cause a fatal error in the disqus javascript code.

e.g. if your title is "Problems for PayPal's iOS SDK"

then disqus_title is:

var disqus_title = 'Problems for PayPal's iOS SDK'; 

To fix this issue, one could encode the single quote to obtain:

var disqus_title = 'Problems for PayPal's iOS SDK'; 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions