Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gallery_directive / gallery_shortcode plugin on Windows #402

Open
sedutec opened this issue Jan 22, 2022 · 0 comments
Open

gallery_directive / gallery_shortcode plugin on Windows #402

sedutec opened this issue Jan 22, 2022 · 0 comments

Comments

@sedutec
Copy link

sedutec commented Jan 22, 2022

Hello,
I am using Nikola 8.2.0 on my Win10 machine with Winpython 3.9.8.0 and have a Windows specific problem when using the gallery_directive or the gallery_shortcode. It is a typical forward vs backslash issue.
On my Linux machine this error is not there.

This is part of the generated output. The problem is the %5C, which represents the backslash. If I manually replace %5C with "/", then everything is fine.

<div id="gallery_container"></div>
<div class="row">
    <div class="col-xs-6 col-md-3">
        <a href="../../galleries%5CCivetta/Civetta01.jpg" class="thumbnail image-reference" title="Civetta01">
            <img src="../../galleries%5CCivetta/Civetta01.thumbnail.jpg" alt="Civetta01"></a>
    </div>
    <div class="col-xs-6 col-md-3">
        <a href="../../galleries%5CCivetta/Civetta02.jpg" class="thumbnail image-reference" title="Civetta02">
            <img src="../../galleries%5CCivetta/Civetta02.thumbnail.jpg" alt="Civetta02"></a>
    </div>

I firstly tried to fix the problem myself, but I even didn't succeed to get a simple print statement out to the console.
Regards,
Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant