-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INDI NOTE ref CONC CONT -> <p> #121
Comments
Try it now, please. |
From
|
I believe that is an issue with full_value() within the Gedcom::Item class, it removes the spaces before ged2site even sees the string. This sample program demonstrates it. It may be worth raising a bug report with the author of that module - unless you can think of a work-around within ged2site.
|
Oh dear. Looks like someone cough 🙂 already raised that issue in 2017? pjcj/Gedcom.pm#21 No response... Should I... also fork Gedcom.pm? Seek PAUSE CO-MAINT since there hasn't been a release since 2019? |
I'd forgotten about that one. I rather think Paul has moved on from supporting the Gedcom module. It would be great if he were to ok co-ownership. |
Huh. Well, I changed Gedcom.pm to make myself happy. But that makes the tests unhappy:
Not sure who/where is the authoritative specification nowadays... If it's here https://github.com/FamilySearch/GEDCOM/blob/a6c05e160cb61d959fae7b7dcbea19e332e6684f/changelog.md?plain=1#L36 then So... uhh... I guess this'll just be another hack specific to me? In another fork of mine? |
pjcj#21 Addressing this Issue in ged2site: nigelhorne/ged2site#121
Currently PAUSE says |
That would be great, if Paul is unable or uninterested to keep up the maintenance. |
heh. Over in Python land, looks like there's quite a mess of competing parsers of GEDCOM, focusing on various versions of the GEDCOM specs. https://pypi.org/search/?q=gedcom ... I wonder if they all agree on a specific source of specification truth? |
Thoughts about HTML transformation:
Current render: http://jays.net/genealogy/static-site/I1072.html
Currently the entire note is a single
<p>
tag, and each CONT adds a<br>
. But multiple<br>
s in a row are suppressed, so there's no way to get a paragraph break?My theory is that each CONT should be it's own
<p>
tag, and each CONC should be appended to previous CONT content with a space. (Currently spaces are not added, causing the HTML to read, for example:September 30, 1923.Tragically,
)The text was updated successfully, but these errors were encountered: