Skip to content

parse failed for angle quotes if the end angle quote follows with a line feed or a carriage return #70

Description

@huapeng01016

using pegdown

      static DataHolder OPTIONS = PegdownOptionsAdapter.flexmarkOptions( 
			Extensions.ALL
			);
	
	static Parser PARSER = Parser.builder(OPTIONS).build();
	static HtmlRenderer RENDERER = HtmlRenderer.builder(OPTIONS).build();

The following code failed

       System.out.println("here0");
	Node document = PARSER.parse("<<test>>\n");
	System.out.println("here1");			

"<<test>>\r" failed as well.

Both "<<test>>\r\n" and "<<test>>\n\n" worked fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions