Skip to content

Tabs are interpreted as errors #28

Description

@joshprice

The Erlang code in this OTP doc page has tabs in it that are being interpreted and rendered as errors.

https://www.erlang.org/doc/system/erl_interface.html

Screenshot 2024-07-17 at 11 58 43 AM

Not sure if this repo is where this is actually happening, but making an issue to keep track of it. Assuming that since it's Erlang code and exdoc that the error is here.

Looks like the problem occurs in the lexer, \s is used but not sure what that is in this context - confusion with regex? and \t is missing.

https://github.com/elixir-makeup/makeup_erlang/blob/master/lib/makeup/lexers/erlang_lexer.ex#L17

I'll make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions