franklingerman / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

image patch issue, "%5C" #641

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
in windows environment export, then update load to linux server, "%5C" was not 
recognized by linux server.

I just added a single jquery to work around this issue:
1, open StyleSheet.xslt
added this to the header part
=========================================
$("img[src]").each(function(){$(this).attr("src",$(this).attr("src").replace('%5
C','/'));});
=========================================

for I'm using jquery template, so final will be
================================================
                <SCRIPT type="text/javascript">
                  $(document).ready(function () {
                  $('body').layout({ applyDefaultStyles: true,
                  minSize:140 });
                  $("img[src]").each(function(){$(this).attr("src",$(this).attr("src").replace('%5C','/'));});
                  });
                </SCRIPT>
===============================================
works

Original issue reported on code.google.com by hong.res...@gmail.com on 26 Jun 2014 at 6:02

GoogleCodeExporter commented 8 years ago
sorry, forgot to post my fixed version of template which I said just in my last 
post

Original comment by hong.res...@gmail.com on 30 Jun 2014 at 8:43

Attachments: