Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm facing an issue on umbraco cms, while i'm adding macros to the content of pages its adding a back-slash on rendering the pages. My partial script is:
@inherits Umbraco.Web.Macros.PartialViewMacroPage <script> $(document).ready(function() { if ($("html").attr("lang") == "ar-AE") { $(".globe").attr('href', '/about-us/'); } else { $(".globe").attr('href', '/من-نحن/'); } }); </script>
on frontend :
Please suggest how to remove those slash.
Hi Guruprakash,
I think it doesn't have to do with your script of your partial macro.
Could you check the other views of the html source and search for the character \ to see if this is placed accidentially.
\
Hope this helps.
/Michaël
any news on this issue? Did you managed to solve it? Could you share it with the community?
Have a nice day!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Rendering back-slash while adding macro/partials on umbraco cms content
I'm facing an issue on umbraco cms, while i'm adding macros to the content of pages its adding a back-slash on rendering the pages. My partial script is:
on frontend :
Please suggest how to remove those slash.
Hi Guruprakash,
I think it doesn't have to do with your script of your partial macro.
Could you check the other views of the html source and search for the character
\
to see if this is placed accidentially.Hope this helps.
/Michaël
Hi Guruprakash,
any news on this issue? Did you managed to solve it? Could you share it with the community?
Have a nice day!
/Michaël
is working on a reply...