Skip to content

EML doesn’t support initial tab indentation unlike OCaml #392

@toastal

Description

@toastal
let render base_url =
	<!DOCTYPE html>
	<html lang="en">
		<body>
			<p>Test</p>
		</body>
	</html>

Does not parse.

let renderHome base_url =
  <!DOCTYPE html>
  <html lang="en">
  	<body>
  		<p>Test</p>
  	</body>
  </html>

Parses (tabs after initial space indentation).

Considering the docs say to use *.eml.ml, I would expect to have similar basic parsing rules to OCaml which allows tab indentation fully (including initial indentation)..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions