-
Notifications
You must be signed in to change notification settings - Fork 373
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
ShareInto: Pipe ("|") in text association breaks GitHub Markdown for links #2308
Comments
What is the desired behaviour here? Is there a standard for how to format link text? Is this something that should be a filed as a bug against github? |
Prior to v2.12, Markor put a slash in between the text of the link that separates it from the Site name. V2.12 changed the separation character to a pipe, which wrecks havoc with forming properly formatted links. I added a screenshot of the web page that I'm experimenting with. I can work around how v2.12 and v2.11 differ by changing the pipe to a slash before incorporating the links before use. |
Ok. I see where this used to be I'll fix it soon. |
Thank you. |
Is escaping the pipe sufficient? I.e. |
That works; past precedence used /. Whichever way is best for the project. |
A potential "gotcha". For this particular link, https://www.colorado.edu/today/2024/04/29/new-star-about-appear-night-sky-heres-how-catch-glimpse, Markor outputs the descriptive text with two pipes. 2024-05-31: I changed the above from two links to two pipes. | A new star is about to appear in the night sky. Here’s how to catch a glimpse | CU Boulder Today | University of Colorado Boulder | April 29, 2024 | |
This is now fixed in #2307 |
For reference. The pipe does not break links. It breaks table formatting in links. I am not sure if the 'fix' of replacing pipes with a slash is the right thing to do here. Leaving this fix in as it was the historical behavior |
Replacing pipe with slash and that in reformatted links only - sounds good. Having escaped pipe looks worse to me |
Description
The pipe in the descriptive text for links where the site name becomes part of the description breaks the GitHub Markdown for lins. Example of what would be from LiveScience: ArticleTitle / LiveScience. In the additional info/logs, I included a table that compares 2.12.2 to 2.11.0.
V2.12.2 looks fine in Markor, but it breaks when uploaded to GitHub.
Steps to reproduce
to the clipboard.
Information
Android version: 14 (5.10.198-android12-9-28575149-abS908USQS5EXE2 #1 SMP PREEMPT Fri May 10 18:42:43 UTC 2024)
Device: Samsung Galaxy S22 Ultra (samsung SM-S908U)
App Version: v2.12.2
Source
Google Play
Format / File type
Markdown
Additional info / Log
The text was updated successfully, but these errors were encountered: