Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Duplicated CodeBlock #49

Closed
pchuong opened this issue Apr 7, 2020 · 8 comments
Closed

Duplicated CodeBlock #49

pchuong opened this issue Apr 7, 2020 · 8 comments

Comments

@pchuong
Copy link

pchuong commented Apr 7, 2020

When using the code block syntax, the out contains duplicated code block.

For example:

var str = 'helloWorld!';

Generates "var str = 'helloWorld!'" twice.

@Fleker
Copy link
Contributor

Fleker commented Apr 8, 2020

This is on v1.0.7?

Can you provide a slightly larger example of when this happens?

@pchuong
Copy link
Author

pchuong commented Apr 8, 2020

Yes, this is with v1.0.7.

I found what the issue is, if I don't have an blank line between "Awesome package." and "```javascript", it works. Works in the the example below. However, if there is a blink line in between, than I see the duplicated code block.

/**
 * Awesome package.
 * ```javascript
 * const str = 'helleWorld!';
 * ```
 *
 * @packageDocumentation
 */

@Fleker
Copy link
Contributor

Fleker commented Apr 8, 2020

I'm not reproducing this at master, so it may have been fixed by #48.

@Fleker
Copy link
Contributor

Fleker commented Apr 10, 2020

Can you try on v1.0.8 if that behavior still occurs?

@pchuong
Copy link
Author

pchuong commented Apr 13, 2020

I can reproduce the issue with v1.0.8. And this is what it looks like in the html file.

Capture

Fleker added a commit to Fleker/typedoc-neo-theme that referenced this issue Apr 15, 2020
Fixes google#49

Change-Id: I16b86754bb72f1bb3c3aa5ec639ee11f86496112
@Fleker
Copy link
Contributor

Fleker commented Apr 15, 2020

Should be fixed by #51. Can you verify against the build?

a57cc40_typedoc-neo-theme-v1.0.8.tar.zip

@pchuong pchuong closed this as completed Jun 9, 2020
@pchuong pchuong reopened this Jun 9, 2020
@pchuong
Copy link
Author

pchuong commented Jun 9, 2020

I updated to v1.0.8 with npm, the issue still exist.

@Fleker
Copy link
Contributor

Fleker commented Jun 10, 2020

@pchuong can you verify against the linked tar with the patch?

@Fleker Fleker closed this as completed in 222508f Jul 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants