Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Python comments not highlighted as such when not preceded by a space #449

@agraboso

Description

@agraboso
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<pre class="prettyprint lang-python">
if a > b: # This is a comment
    pass

if a > b:# This is a comment
    pass
</pre>

results in
python-comments-google-prettify-code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions