Web based family history software

file Question v2.0.17 - Things that no longer work after update

More
3 years 3 months ago - 3 years 3 months ago #1 by mp
After the update to v2.0.17, besides the missing line breaks (see www.webtrees.net/index.php/en/forum/help...ts-text-under-source ), two things no longer work when displaying sources:

- Links in the source citation details are not formatted correctly -> the link and any additional text are displayed together as a link.

- Markdown formatting in the source text is not displayed formatted


Martin - ffp.bauschaffen.de
Attachments:
Last edit: 3 years 3 months ago by mp.

Please Log in or Create an account to join the conversation.

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar
  • Offline
  • Junior Member
  • Junior Member
More
3 years 3 months ago #2 by fariasmarcilio@outlook.com
Replied by fariasmarcilio@outlook.com on topic v2.0.17 - Things that no longer work after update
I didn't see much modification.
The only thing I noticed was the loss of my translations but I had already been warned here on the forum about this.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago - 3 years 3 months ago #3 by Klugesherz
Replied by Klugesherz on topic v2.0.17 - Things that no longer work after update
Same issue on my side 
Line break doesn't work any more in Text

It is planned to fix the Line Break issue in "Text"  ?

Oupss..  www.webtrees.net/index.php/en/forum/help...ts-text-under-source
 

webtrees 2.1.x---> My famility tree
PHP 8.0
Last edit: 3 years 3 months ago by Klugesherz.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #4 by ddrury

--
Dave

Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26

Please Log in or Create an account to join the conversation.

  • Bogie
  • Bogie's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #5 by Bogie

After the update to v2.0.17, besides the missing line breaks (see www.webtrees.net/index.php/en/forum/help...ts-text-under-source ), two things no longer work when displaying sources:

- Links in the source citation details are not formatted correctly -> the link and any additional text are displayed together as a link.

- Markdown formatting in the source text is not displayed formatted


Same here. Furthermore

- tables

- bold characters

don't work anymore.

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.

More
3 years 2 months ago #6 by jprause
I already reported the same issue in the thread www.webtrees.net/index.php/en/forum/help...ts-text-under-source 1 month 1 week ago.
@fisharebest had pointed to the issue github.com/fisharebest/webtrees/issues/4056 as being reported already.
As to me the issue #4056 has been closed (probably means it is fixed) but the issue we talk about here is not fixed.
I am checking with webtrees demo latest beta (2.1.0-dev).
I plead the developers for fixing the issue.

Josef

webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit

Please Log in or Create an account to join the conversation.

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 months ago - 3 years 2 months ago #7 by fariasmarcilio@outlook.com
Replied by fariasmarcilio@outlook.com on topic v2.0.17 - Things that no longer work after update
Can anyone tell which folder the old images go to after the update - icon and logo

Alguém sabe dizer pra qual pastas vão as imagens antigas após a atualização? ícones e logos
Last edit: 3 years 2 months ago by fariasmarcilio@outlook.com.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #8 by fisharebest
Replied by fisharebest on topic v2.0.17 - Things that no longer work after update
> As to me the issue #4056 has been closed (probably means it is fixed) but the issue we talk about here is not fixed.

Which issue exactly?

As far as I can tell, the two issues in post #1 are fixed in both the 2.1-dev and 2.0-dev branches of the code.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #9 by mp

As far as I can tell, the two issues in post #1 are fixed in both the 2.1-dev and 2.0-dev branches of the code.


Thanks a lot, that is true. Links with additional text and markdown formatted text work again in v2.1 (v2.0-dev could not be tested).

But line breaks in text (CONT) still do not work.


Martin - ffp.bauschaffen.de
Last edit: 3 years 2 months ago by mp.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #10 by fisharebest
Replied by fisharebest on topic v2.0.17 - Things that no longer work after update
> But line breaks in texts (CONT) still do not work.

The markdown specification says that

* lines of text should be joined together to create one paragraph
* to create a new paragraph, use two line-breaks
* to force a line-break, add two spaces to the end of the previous line.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #11 by mp
But we have Gedcom-tags like CONT for a new line too. It seems that Markdown overwrites the Gedcom structure.

In my opinion the CONT tag should interpreted first as a new line (similar to <br>). For <p> it is clear to use two line breaks.

The problem (my problem) is, that I have a lot of source citations, shared note and inline notes copied from sources using CONT structure. Later I added markdown for bold, italic, links etc. I can‘t format all of them with Markdown again for correct linebreaks now only because the interpretation has been changed.

Martin - ffp.bauschaffen.de

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #12 by jprause

@fisharebest: Which issue exactly?


The issue described and documented in the first post of this thread and in the first post of thread www.webtrees.net/index.php/en/forum/help...ts-text-under-source .

@mp says: In my opinion the CONT tag should interpreted first as a new line (similar to <br>). For <p> it is clear to use two line breaks.

The problem (my problem) is, that I have a lot of source citations, shared note and inline notes copied from sources using CONT structure. Later I added markdown for bold, italic, links etc. I can‘t format all of them with Markdown again for correct linebreaks now only because the interpretation has been changed.


The same with me. I have several thousands of source citations where in text field there are transcriptions of the source documents.

Josef

webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit
Last edit: 3 years 2 months ago by jprause.

Please Log in or Create an account to join the conversation.

  • Bogie
  • Bogie's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #13 by Bogie

But we have Gedcom-tags like CONT for a new line too. It seems that Markdown overwrites the Gedcom structure.

In my opinion the CONT tag should interpreted first as a new line (similar to <br>). For <p> it is clear to use two line breaks.

The problem (my problem) is, that I have a lot of source citations, shared note and inline notes copied from sources using CONT structure. Later I added markdown for bold, italic, links etc. I can‘t format all of them with Markdown again for correct linebreaks now only because the interpretation has been changed.

I totally agree with that.

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.

  • Bogie
  • Bogie's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #14 by Bogie
How about tables?
Do we have to add some additional characters or new lines etc., too?

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.

More
3 years 2 months ago #15 by Klugesherz
Replied by Klugesherz on topic v2.0.17 - Things that no longer work after update
fisharebest highlighted

>the two issues in post #1 are fixed in both the 2.1-dev and 2.0-dev branches of the code.

I'm not able to test both of these 2 versions
So I'm waiting the next official release which will fix the issue

The display of tag TEXT within tag SOUR in Facts and events tab does not respect newlines (i.e. CONT tags):

webtrees 2.1.x---> My famility tree
PHP 8.0

Please Log in or Create an account to join the conversation.

  • Bogie
  • Bogie's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #16 by Bogie

I'm not able to test both of these 2 versions
So I'm waiting the next official release which will fix the issue
The display of tag TEXT within tag SOUR in Facts and events tab does not respect newlines (i.e. CONT tags):

But, it was working properly until 2.0.16 ! What was changed here? That's really annoying.

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.

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
3 years 2 months ago - 3 years 2 months ago #17 by bertkoor
If I understand Greg correctly then behaviour depends on the tree setting whether Markdown Formatting is enabled.

When Markdown formatting is disabled, then CONT tags should mean a new line.
When enabled, then Markdown rules apply: lines are concatenated as paragraphs, and two new lines needed for a new paragraph.

Could you check this please?

stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 3 years 2 months ago by bertkoor.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #18 by fisharebest
Replied by fisharebest on topic v2.0.17 - Things that no longer work after update

If I understand Greg correctly then behaviour depends on the tree setting whether Markdown Formatting is enabled.

When Markdown formatting is disabled, then CONT tags should mean a new line.
When enabled, then Markdown rules apply: lines are concatenated as paragraphs, and two new lines needed for a new paragraph.

Could you check this please?

Correct.

In "markdown" mode, we apply markdown formatting. Markdown requires to line-breaks to create a new paragraph and two spaces to create a new line.

In "text" mode, we keep the line-breaks.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #19 by fisharebest
Replied by fisharebest on topic v2.0.17 - Things that no longer work after update
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>

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #20 by Klugesherz
Replied by Klugesherz on topic v2.0.17 - Things that no longer work after update
Parameter has been set as "NO Markdown"



But I guess that I have still the issue because I'm on the official release : v2.0.17

webtrees 2.1.x---> My famility tree
PHP 8.0

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum