From bdcc8fa27e319ad199ad439c9923b34f866f1ca1 Mon Sep 17 00:00:00 2001 From: bun Date: Sun, 29 Oct 2023 19:09:49 +0300 Subject: [PATCH] update docs --- src/e2h.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/e2h.erl b/src/e2h.erl index 2e0f5f6..20fa329 100644 --- a/src/e2h.erl +++ b/src/e2h.erl @@ -23,7 +23,7 @@ %% == Example == %% %% ``` -%% Attributes = [{<<"type">>, <<"password">>}, {id, <<"my-element">>}, disabled]. +%% Attributes = [{<<"type">>, <<"password">>}, {<<"id">>, <<"my-element">>}, <<"disabled">>]. %% % Represents attributes like: type="password" id="my-element" disabled %% ''' %% @@ -38,7 +38,7 @@ %% {<<"div">>, [{<<"class">>, <<"container">>}], [ %% {<<"p">>, [], [<<"This is a paragraph.">>]}, %% {<<"a">>, [{<<"href">>, <<"#">>}], [<<"Click me">>]}, -%% {img, [{src, <<"https://example.com/image.png">>}]} +%% {<<"img">>, [{<<"src">>, <<"https://example.com/image.png">>}]} %% ]} %% ]. %% '''