Ticket #6100: 6100.diff

File 6100.diff, 596 bytes (added by oggie_rob, 16 years ago)

one-liner fix

  • django/contrib/admin/media/js/admin/RelatedObjectLookups.js

     
    33
    44function html_unescape(text) {
    55    // Unescape a string that was escaped using django.utils.html.escape.
     6    text = "" + text; // coerce from integer, probably
    67    text = text.replace(/&lt;/g, '<');
    78    text = text.replace(/&gt;/g, '>');
    89    text = text.replace(/&quot;/g, '"');
Back to Top