api.jquery.com icon indicating copy to clipboard operation
api.jquery.com copied to clipboard

In index html escape the descriptions

Open rasca opened this issue 11 years ago • 4 comments

When visiting http://api.jquery.com/ in jQuery.param() description it should say:

Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain elements with name/value properties.

But instead of <input> it displays an input.

rasca avatar Jan 26 '15 17:01 rasca

Thank you for catching this issue @rasca.

AurelioDeRosa avatar Jan 26 '15 17:01 AurelioDeRosa

@AurelioDeRosa thanks for the quick fix! Maybe it can be set to escape the xml text when rendering so this won't happen again in the future?

rasca avatar Jan 26 '15 17:01 rasca

@rasca I agree this would be useful (cc: @arthurvr @kswedberg). In the meantime I fixed the entry to be inline with the other entries that don't have codes in the summary.

AurelioDeRosa avatar Jan 26 '15 17:01 AurelioDeRosa

If you're going to close this, then please open a new issue since the real problem still exists.

scottgonzalez avatar Feb 01 '15 19:02 scottgonzalez