Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

image patch issue, "%5C" #641

Closed
prikhi opened this issue Mar 13, 2015 · 2 comments
Closed

image patch issue, "%5C" #641

prikhi opened this issue Mar 13, 2015 · 2 comments

Comments

@prikhi
Copy link
Owner

prikhi commented Mar 13, 2015

From hong.res...@gmail.com on June 26, 2014 02:02:36

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('%5C','/'));});

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('&#37;5C','/'));});
              });
            \</SCRIPT>

works

Original issue: http://code.google.com/p/evoluspencil/issues/detail?id=641

@prikhi
Copy link
Owner Author

prikhi commented Mar 13, 2015

From hong.res...@gmail.com on June 30, 2014 01:43:28

sorry, forgot to post my fixed version of template which I said just in my last post

Attachment: JQUERY_Template.zip

@prikhi
Copy link
Owner Author

prikhi commented Sep 21, 2015

Fixed by #737

@prikhi prikhi closed this as completed Sep 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant