Update partitioning to strip empty elements
This commit is contained in:
@ -153,7 +153,8 @@ defmodule Outlook.InternalTreeTest do
|
||||
%Outlook.InternalTree.InternalNode{
|
||||
name: "a",
|
||||
attributes: %{
|
||||
href: "https://www.politico.eu/article/fit-for-55-eu-5-things-to-know/"
|
||||
href: "https://www.politico.eu/article/fit-for-55-eu-5-things-to-know/",
|
||||
bullshit: "bollocks"
|
||||
},
|
||||
type: :element,
|
||||
nid: "qxCrs0csHDLI",
|
||||
@ -197,7 +198,7 @@ defmodule Outlook.InternalTreeTest do
|
||||
%Outlook.InternalTree.TranslationUnit{
|
||||
status: :untranslated,
|
||||
nid: "xxxxxx",
|
||||
content: "<a href=\"https://www.politico.eu/article/fit-for-55-eu-5-things-to-know/\"></a> In reality it will destroy the transport industry, steel, cement as well as coal and gas fuel electric generation. ",
|
||||
content: " In reality it will destroy the transport industry, steel, cement as well as coal and gas fuel electric generation. ",
|
||||
eph: %{}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user