Skip to content
New issue

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

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

Already on GitHub? # to your account

Incorrect code block for doc comment #243

Open
Gama11 opened this issue Apr 16, 2018 · 3 comments
Open

Incorrect code block for doc comment #243

Gama11 opened this issue Apr 16, 2018 · 3 comments
Labels

Comments

@Gama11
Copy link
Member

Gama11 commented Apr 16, 2018

http://haxefoundation.github.io/hxnodejs/js/node/child_process/ChildProcessEvent.html

The source doesn't look too crazy, no mixed indentation or anything like that, so this should probably work ok?

	/**
		Emitted when:
			1. The process could not be spawned, or
			2. The process could not be killed, or
			3. Sending a message to the child process failed for whatever reason.

		Note that the exit-event may or may not fire after an error has occured.
		If you are listening on both events to fire a function, remember to guard against calling your function twice.

		See also `ChildProcess.kill` and `ChildProcess.send`.
	**/
	var Error : ChildProcessEvent<js.Error->Void> = "error";
@Gama11 Gama11 added the bug label Apr 16, 2018
@markknol
Copy link
Member

markknol commented Apr 16, 2018

I think this is mostlikely a haxe-markdown bug (?)

@Gama11
Copy link
Member Author

Gama11 commented Apr 16, 2018

I doubt it, vshaxe has the same issue and doesn't use haxe-markdown (I copied some code from JavadocHandler / MarkdownHandler for it). So I think indentation is handled incorrectly somewhere.

@Gama11
Copy link
Member Author

Gama11 commented Apr 16, 2018

MarkdownHandler

Actually, that's not true, the code I meant is in Processor:

function trimDoc(doc:String)

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

No branches or pull requests

2 participants