- Posts: 234
Question
v2.0.17 - Things that no longer work after update
- Klugesherz
-
- Offline
- Junior Member
-



No body wants to consider my message.
What about to the proposal to separate the 2 parameters.
1 parameter to decide Markdown for "Note"
1 parameter to decide Markdown for "Text" (Sources)
To avoid the big Job of Bogie it would be so helpful
Based on the fact that for the former version of webtrees 2.0.16 --> only "Notes" supported markdown
Merci

webtrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- drblam
-
- Offline
- Junior Member
-
- Posts: 189
![]()
![]()
Based on the fact that for the former version of webtrees 2.0.16 --> only "Notes" supported markdown
Merci![]()
Actually, I'm still running webtrees 2.0.16 right now, and I can assure you that Markdown works for Text (Sources) here too.
Please Log in or Create an account to join the conversation.
- hermann
-
- Offline
- Elite Member
-
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.22 (all custom modules installed, PHP 8.3.12, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.
- rola
-
- Offline
- Senior Member
-
- Posts: 281
![]()
![]()
No body wants to consider my message.
What about to the proposal to separate the 2 parameters.
1 parameter to decide Markdown for "Note"
1 parameter to decide Markdown for "Text" (Sources)
To avoid the big Job of Bogie it would be so helpful
Based on the fact that for the former version of webtrees 2.0.16 --> only "Notes" supported markdown
Merci![]()
I think Bogie should wait with the big job.
I think the developer of webtrees are not very happy with adding new configuration options.
Last, but not least I hope that the standard behavior as per GEDCom definition (CONT = new line) will be normaly supported together with markdown - in the way it worked since ever.
Ladislav
Ladislav
webtrees 2.0.24 + ⚶ Vesta modules (from cissee.de/ )
testing webtres 2.1.5 + ⚶ Vesta modules
on PHP Version 7.4.28
Please Log in or Create an account to join the conversation.
- Bogie
-
- Offline
- Elite Member
-
- Life is good!
I think Bogie should wait with the big job.
It's just done, Ladislav,


Bogie
webtrees 2.2.1 | PHP 8.3.12 | MariaDB 10.11.8 | Apache on Ubuntu
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- miqrogroove
-
- Offline
- New Member
-
- Posts: 95
> Previously, a new CONT tag was translated with a <br> and an empty CONT tag with a <p>.
Previously, the CSS above was included in the core code.
This CSS should only have been included for plain-text notes - not for markdown notes.
This was a bug.
This is a uniquely hostile attitude for you. How about we make this "bug" a change to the 2.1 branch only, and let existing users of 2.0 not have all their content broken by this change?
Please Log in or Create an account to join the conversation.
- miqrogroove
-
- Offline
- New Member
-
- Posts: 95
But, if you want "almost markdown", then a simple CSS change should give you what you want:
Code:<style> .markdown > p { white-space: pre-wrap; } </style>
Adding this in v2.0.19 does nothing. My notes still show none of the linefeeds I entered in thousands of records. They are not specified with the markdown class in any of the page source code and I don't see how this CSS would do anything other than tweak a source citation text block.
Please Log in or Create an account to join the conversation.
- mp
-
Topic Author
- Offline
- Senior Member
-
Adding this in v2.0.19 does nothing. My notes still show none of the linefeeds I entered in thousands of records. They are not specified with the markdown class in any of the page source code and I don't see how this CSS would do anything other than tweak a source citation text block.
If you don't dislike addons, I can recommend the addon vesta_classic_laf for webtrees v2.0.19, so that the line breaks inserted with CONT are displayed correctly again.
If you are using the Justlight/Justblack theme, you should still use v2.0.19.0.1 of the addon for now, as there is still a small conflict in the last version.
Martin - ffp.bauschaffen.de
Please Log in or Create an account to join the conversation.
- ric2015
-
- Offline
- Senior Member
-
If you don't dislike addons, I can recommend the addon vesta_classic_laf for webtrees v2.0.19, so that the line breaks inserted with CONT are displayed correctly again.
Only as long as markdown is enabled in the tree preferences. There are two separate issues here, which are sometimes mixed up in the current discussions. A summary:
- Markdown is disabled: Line breaks are not preserved in many cases, see this summary . This is a bug that has to be fixed in webtrees, Vesta does not address this issue.
- Markdown is enabled: Line breaks are not preserved by design. This is a webtrees feature, which Vesta reverts. Other solutions have been suggested for this case, which unfortunately only work partially:
- the CSS fix does not cover all cases, because markdown doesn't always appear within a 'markdown' class
- adding two spaces before each line break doesn't work for webtrees 1.x census assistant notes
Finally, if you use the CSS fix (e.g. via the JustLight theme) and the Vesta module, you currently end up with double line breaks in some cases. I'll address this in the next Vesta release.
Richard
webtrees 2.2.0 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de
Please Log in or Create an account to join the conversation.
- miqrogroove
-
- Offline
- New Member
-
- Posts: 95
Please Log in or Create an account to join the conversation.
- norwegian_sardines
-
- Offline
- Platinum Member
-
- Posts: 3161
Your NOTEs are not corrupted! The display is just not honoring the line break in some cases, but the NOTE:CONT cards in the GEDCOM file are not being changed!
If you stay at 2.0.19 you will only be seeing the NOTE cards/tags displayed without line breaks on the specific pages I outlined, the same NOTE cards/tags are display with line breaks on other pages!
Ken
Please Log in or Create an account to join the conversation.
- miqrogroove
-
- Offline
- New Member
-
- Posts: 95
Please Log in or Create an account to join the conversation.
- norwegian_sardines
-
- Offline
- Platinum Member
-
- Posts: 3161
You used the word "corrupted", This word often can infer that the data was "damaged", the NOTEs were not damaged, just not displayed correctly. In your mind this may be splitting hairs, but to computer people a corrupted file means the file itself has been altered, in this case the file has not been altered!
You are welcome to revert back so your display is correct.
Ken
Please Log in or Create an account to join the conversation.
- miqrogroove
-
- Offline
- New Member
-
- Posts: 95
In fetchLatestVersion the update checking can be disabled by overwriting the function as follows.
Please Log in or Create an account to join the conversation.
- markhattam
-
- Offline
- New Member
-
- Posts: 7
The blank CONT lines seem to be ignored and (even worse) the following CONT is ignored too, running the next line on the same line as the previous.
The source code from the webpage is clearly missing the expected pair of <br /> for the blank lines.
Please Log in or Create an account to join the conversation.
- ric2015
-
- Offline
- Senior Member
-
How do I get this GEDCOM to display with line breaks ... using 2.0.19
The blank CONT lines seem to be ignored
First, you should not have to modify your GEDCOM like this just to work around the current issues. In particular if you have markdown disabled, my suggestion is to wait for webtrees to fix the display bug. There is an open issue for this (as well as several other related issues).
Overall there are different cases and proposed solutions, see my summary here .
Richard
webtrees 2.2.0 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de
Please Log in or Create an account to join the conversation.
- markhattam
-
- Offline
- New Member
-
- Posts: 7
I use the default webtrees theme.
Please Log in or Create an account to join the conversation.
- mp
-
Topic Author
- Offline
- Senior Member
-
Markdown is not enabled ... I did try it briefly once I discovered where to enable it, but it looked even worse on the displayed webpage.
I use the default webtrees theme.
In this case you have to wait for a bug fix and maybe downgrade again to v2.0.16.
Martin - ffp.bauschaffen.de
Please Log in or Create an account to join the conversation.
- norwegian_sardines
-
- Offline
- Platinum Member
-
- Posts: 3161
Please Log in or Create an account to join the conversation.
- markhattam
-
- Offline
- New Member
-
- Posts: 7
So, what I have just done is grep replace in my GEDCOM file all my
5 CONT
with
5 CONT
(ie replacing nothing after CONT with a space and an option-space)
And re-imported the GEDCOM.
Now the data displays as it ought to, and the webpage source code shows the lines with a <space><br />
I need to do my
1 CONT
lines as well.
Please Log in or Create an account to join the conversation.