Author: humbedooh
Date: Fri Feb 7 08:13:28 2020
New Revision: 1873730
URL: http://svn.apache.org/viewvc?rev=1873730&view=rev
Log:
highlight ALL private sections
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
URL:
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js?rev=1873730&r1=1873729&r2=1873730&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js Fri Feb
7 08:13:28 2020
@@ -12,7 +12,7 @@ function UnifiedEditor_highlight_section
// Placeholders are grey with red border
hilites.push({highlight: PLACEHOLDER, className: 'none' });
// <private> sections
- hilites.push({highlight: /<private>[\s\S]+?<\/private>/i, className:
'classified' });
+ hilites.push({highlight: /<private>[\s\S]+?<\/private>/ig, className:
'classified' });
// Capture text cursor position(s) before we continue.
let x = $('#unified-report').prop('selectionStart');
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL:
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1873730&r1=1873729&r2=1873730&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Fri Feb 7
08:13:28 2020
@@ -3324,7 +3324,7 @@ function UnifiedEditor_highlight_section
// Placeholders are grey with red border
hilites.push({highlight: PLACEHOLDER, className: 'none' });
// <private> sections
- hilites.push({highlight: /<private>[\s\S]+?<\/private>/i, className:
'classified' });
+ hilites.push({highlight: /<private>[\s\S]+?<\/private>/ig, className:
'classified' });
// Capture text cursor position(s) before we continue.
let x = $('#unified-report').prop('selectionStart');