/[suikacvs]/test/html-webhacc/cc-script.js
Suika

Diff of /test/html-webhacc/cc-script.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wakaba, Sun Mar 16 05:45:10 2008 UTC revision 1.3 by wakaba, Sun Mar 16 07:25:10 2008 UTC
# Line 24  function addSourceToParseErrorList (idPr Line 24  function addSourceToParseErrorList (idPr
24          var lineEl = document.getElementById (idPrefix + 'line-' + line);          var lineEl = document.getElementById (idPrefix + 'line-' + line);
25          if (lineEl) {          if (lineEl) {
26            lineText = lineEl.innerHTML            lineText = lineEl.innerHTML
27                  .replace (/<var>U\+([0-9A-F]{4})<\/var>/g, function (s) {
28                    return String.fromCharCode (parseInt (s, 16));
29                  })
30                .replace (/&lt;/g, '<')                .replace (/&lt;/g, '<')
31                .replace (/&gt;/g, '>')                .replace (/&gt;/g, '>')
32                .replace (/&nbsp;/g, '\u00A0')                .replace (/&nbsp;/g, '\u00A0')

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24