Logo white

WebCompDev / COMPONENTS

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • COMPONENTS
  • bower_components
  • prism
  • plugins
  • show-invisibles
  • prism-show-invisibles.js
  • curruption reloution
    8ee32023
    Luigi Serra authored
    2015-11-03 13:45:29 +0100  
    Browse Code ยป
prism-show-invisibles.js 316 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
(function(){

if (
	typeof self !== 'undefined' && !self.Prism ||
	typeof global !== 'undefined' && !global.Prism
) {
	return;
}

for (var language in Prism.languages) {
	var tokens = Prism.languages[language];
	
    tokens.tab = /\t/g;
    tokens.crlf = /\r\n/g;
    tokens.lf = /\n/g;
	tokens.cr = /\r/g;
}

})();