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

bug-fix: Children of non-formatted tags #139

Merged
merged 1 commit into from Sep 13, 2019

Conversation

@jamierocks
Copy link
Contributor

jamierocks commented Sep 13, 2019

Resolves GH-138.

The output is now:

<html>
    <head>
        <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js">
        </script>
        <style>
            pre.prettyprint {padding: 0; border: 0;}
        </style>
    </head>
    <body>
        <pre class="prettyprint lang-java">/*
 * Decompiled with CFR 0.141.
 */
package <span class="package">net.minecraftforge.api.distmarker</span>;

public enum Dist {
    <span class="field" data-parent="test">CLIENT</span>,
    <span class="field" data-parent="test">DEDICATED_SERVER</span>;
    

    public boolean isDedicatedServer() {
        return !this.isClient();
    }

    public boolean isClient() {
        return this == CLIENT;
    }
}
</pre>
    </body>
</html>
@jamierocks jamierocks changed the title bug-fix: Children of a non-formatted tags bug-fix: Children of non-formatted tags Sep 13, 2019
@jamierocks jamierocks force-pushed the jamierocks:bugfix/format-children branch from 50e6c67 to 0f866b6 Sep 13, 2019
@tipsy

This comment has been minimized.

Copy link
Owner

tipsy commented Sep 13, 2019

Thanks @jamierocks ! I had to update the Travis settings, could you rebase your PR ?

Resolves GH-138.
@jamierocks jamierocks force-pushed the jamierocks:bugfix/format-children branch from 0f866b6 to c3435f9 Sep 13, 2019
@jamierocks

This comment has been minimized.

Copy link
Contributor Author

jamierocks commented Sep 13, 2019

@tipsy all sorted :)

@tipsy

This comment has been minimized.

Copy link
Owner

tipsy commented Sep 13, 2019

Perfect, thank you!

@tipsy tipsy merged commit 5c9d62c into tipsy:master Sep 13, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.