Permalink
Browse files

Remove the   replacement for attributes

  • Loading branch information...
1 parent 247d3a8 commit e126045ff629f18b973e4675654dae62097119d6 @pure committed Dec 10, 2010
Showing with 30 additions and 9 deletions.
  1. +1 −1 index.html
  2. +2 −2 libs/pure.js
  3. +27 −6 libs/pure_min.js
View
@@ -8,7 +8,7 @@
<!--JSON needed to show the source code only -->
<script src="libs/json2.js"></script>
- <script src="libs/pure.js"></script>
+ <script src="libs/pure_min.js"></script>
<!-- Example page files -->
<script src="js/demo.js"></script>
View
@@ -7,7 +7,7 @@
Copyright (c) 2010 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
- revision: 2.59
+ revision: 2.60
*/
var $p, pure = $p = function(){
@@ -296,7 +296,7 @@ $p.core = function(sel, ctxt, plugins){
quotefn = function(s){ return s.replace(/\"/g, '&quot;'); };
}else {
getstr = function(n){ return n.getAttribute(attr); };
- quotefn = function(s){ return s.replace(/\"/g, '&quot;').replace(/\s/g, '&nbsp;'); };
+ quotefn = function(s){ return s.replace(/\"/g, '&quot;'); };
}
if(prepend){
setfn = function(node, s){ setstr( node, s + getstr( node )); };
Oops, something went wrong.

0 comments on commit e126045

Please sign in to comment.