Commit Graph

34 Commits

Author SHA1 Message Date
c8d1639afa Fix ugly bug 2023-06-09 13:57:05 +02:00
357bcae450 Add ’ to partitioning regex 2023-05-28 15:23:25 +02:00
7990b74bf0 Add "Unite with next" button 2023-05-02 22:09:04 +02:00
3b8b1b19f0 Cleanup TunitModifications 2023-03-28 23:44:19 +02:00
3a2af2adb4 Add TunitModifications with first modifier unite_with_next 2023-03-28 14:48:26 +02:00
8a513b1452 Remove unused code 2023-03-04 23:45:49 +01:00
2ffea3e490 Add rest of other commit (appr. HEAD~20?) 2023-02-22 14:24:49 +01:00
c0fe63588c Add Html.render_doc/1
Wraps HtmlDocComponent.render_doc/1 and converts the resulting struct
to binary.
2023-01-19 20:33:22 +01:00
078db6e38e Update garnish and render_doc functions
Now all element node attributes have to be threaded through the
eph.attributes which is done by the garnish function.
2023-01-19 13:48:56 +01:00
170883490f Fix mistake with taking properties from article instead translation 2023-01-19 11:35:56 +01:00
f2dd8de143 Add support for img tags 2023-01-15 17:27:51 +01:00
b520df2561 Fix stripping img and br tags as empty 2023-01-14 22:10:11 +01:00
483ed9440d Update some superficial things 2023-01-14 22:05:48 +01:00
a95131bdbb Add rendering the translation with title tags 2023-01-14 22:04:28 +01:00
705c7d2b53 Update partitioning 2023-01-14 22:01:21 +01:00
b7db9cdd8e Update partitioning to strip empty elements 2023-01-13 14:09:37 +01:00
e45e3597c9 Fix tiny slip of thought 2023-01-12 22:45:24 +01:00
ecb1ef2eee Fix issue with saved eph field 2023-01-12 20:55:11 +01:00
cf9118c5ac Fix issue with end of sentence 'disguised' by markup 2023-01-11 22:15:04 +01:00
403116cd08 Replace uuids with "nanoid"s 2023-01-11 19:01:28 +01:00
33ed533a1a Update editing translation 2023-01-09 21:35:35 +01:00
429352b32d Remove superfluous Logger 2023-01-04 16:40:14 +01:00
501648f496 Remove unused function 2023-01-04 15:56:14 +01:00
49b72cbf68 Cleanup some code 2023-01-04 15:27:30 +01:00
9a7dc7cf80 Add ignoring non-period points/dots 2023-01-04 15:26:05 +01:00
b0f8778c07 Fix tiny issue with nonsensical html 2023-01-04 14:59:29 +01:00
f4b5abef5a Update to_html/1 to accept maps instead of only %InternalNode{}s 2023-01-04 14:26:38 +01:00
80a21b8606 Add stripping HTML attributes 2023-01-04 14:23:55 +01:00
4949797343 Update partitioning the raw tree (means converting it to "non-raw" tree)
Finally achieves to pass the first internaltree test.
2023-01-04 14:21:55 +01:00
b48274eaef Add :eph field to %TranslationUnit{} and remove :sibling_with
Using :eph from now on to store ephemeral data like :sibling_with. Additionally
added cleaning up :eph before saving to db. And renamed InternalTree.Basic
to InternalTree.RawInternalBasic to make clear that it contains function
for an intermediary tree structure.
2022-12-29 22:09:26 +01:00
fba40236d7 Rename file 2022-12-29 19:47:22 +01:00
5a37d20430 Fix bug that crashed with "<p> </p>" 2022-12-29 19:39:39 +01:00
b7bd9195b6 Add importing html and save it to Article
Additionally defines a wizard logic which is partially unused yet.
2022-12-29 16:43:52 +01:00
5cbf05f650 Add first step of creating an Article 2022-12-27 23:23:16 +01:00