Fix edge cases with parser

- Remove front_matter dependency, and use a hand-rolled simpler parser
  which is suitable for the data to parse (which is well-formed).
- Fix a couple of edge cases with years and titles with commas
This commit is contained in:
Claudio Ortolina
2024-09-14 14:09:28 +01:00
parent 2c42f3ea32
commit 170f195aae
4 changed files with 72 additions and 10 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ defmodule MusicLibrary.MixProject do
{:ecto_sqlite3, ">= 0.0.0"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:front_matter, "~> 1.0"},
{:yaml_elixir, "~> 2.11"},
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
{:phoenix_live_view, "~> 1.0.0-rc.1", override: true},
{:floki, ">= 0.30.0", only: :test},