Skip to content

Commit

Permalink
Do not rename parser proxy (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Sep 27, 2023
1 parent 810bb1d commit 69bbc9c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/earmark.ex
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ defmodule Earmark do
"""

alias Earmark.{Internal, Options, Transform}
alias Earmark.Earmark.ParserProxy, as: Proxy
alias Earmark.EarmarkParserProxy, as: Proxy

defdelegate as_ast!(markdown, options \\ []), to: Internal
defdelegate as_html(lines, options \\ []), to: Internal
Expand Down
2 changes: 1 addition & 1 deletion lib/earmark/earmark_parser_proxy.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule Earmark.Earmark.ParserProxy do
defmodule Earmark.EarmarkParserProxy do
@moduledoc ~S"""
This acts as a proxy to adapt to changes in `Earmark.Parser`'s API
Expand Down
2 changes: 1 addition & 1 deletion lib/earmark/internal.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Earmark.Internal do
"""

alias Earmark.{Error, Message, Options, SysInterface, Transform}
alias Earmark.Earmark.ParserProxy, as: Proxy
alias Earmark.EarmarkParserProxy, as: Proxy
import Message, only: [emit_messages: 2]

@doc ~S"""
Expand Down
2 changes: 1 addition & 1 deletion lib/earmark/transform.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Earmark.Transform do

alias Earmark.Options
alias Earmark.TagSpecificProcessors, as: TSP
alias Earmark.Earmark.ParserProxy, as: Proxy
alias Earmark.EarmarkParserProxy, as: Proxy
alias __MODULE__.Pop

@compact_tags ~w[a code em strong del]
Expand Down

0 comments on commit 69bbc9c

Please sign in to comment.