Skip to content

Commit

Permalink
vbump v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bunopnu committed Apr 23, 2024
1 parent 656e829 commit 26cd269
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Next

## v0.4.2 - 23rd April 2024

### Added

- New macro `eTitle/1`.

## v0.4.1 - 29th October 2023

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This module is suitable for developers who need to programmatically generate HTM
Package can be installed by adding `e2h` to your list of dependencies:

```erlang
{deps, [{e2h, "0.4.1"}]}.
{deps, [{e2h, "0.4.2"}]}.
```

## Usage Example
Expand Down
1 change: 1 addition & 0 deletions include/html.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
-define(eHead(X), {<<"head">>, [], X}).
-define(eHeader(X), {<<"header">>, [], X}).
-define(eSummary(X), {<<"summary">>, [], X}).
-define(eTitle(X), {<<"title">>, [], X}).

%% Macro Definitions for Line Breaks and Horizontal Rules
-define(eBr(), {<<"br">>}).
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{deps, []}.

{project_plugins, [rebar3_hex, rebar3_lint, coveralls]}.
{project_plugins, [rebar3_hex, coveralls]}.
{hex, [{doc, edoc}]}.

{shell, [{apps, [e2h]}]}.
Expand Down
2 changes: 1 addition & 1 deletion src/e2h.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, e2h,
[{description, "HTML generator for Erlang ecosystem"},
{vsn, "0.4.1"},
{vsn, "0.4.2"},
{registered, []},
{applications, [kernel,
stdlib]},
Expand Down
2 changes: 1 addition & 1 deletion test/e2h_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ simple_render_test() ->

html_macros_render_test() ->
Document = ?eHTML(
[{<<"title">>, [], [<<"hello!">>]}],
[?eTitle([<<"hello!">>])],
[?eDiv([?eH1([<<"Hello, World!">>]),
?eSpan([?eP([<<"Long Story...">>]),
?eA(<<"https://bun.rip">>, [<<"Visit My Website!">>])]),
Expand Down

0 comments on commit 26cd269

Please # to comment.