Skip to content

URL are changed in <script src> from code blocks  #240

@Toilal

Description

@Toilal

I face a really strange issue.

Please see this file, and notice in Install Manually section, step 4, in the sample code.

<script src="assets/angular-gantt.js"></script>

When i generate the docs using mkdocs build, it gives the following page, and the script source is changed :

<script src="../assets/angular-gantt.js"></script>

Notice the ../ added to the begining of file. This may have sense for real <script src...> tag, but it should not occur inside a code block (4-space indent or quoted)

Page generated by readthedocs has the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions