openresearchcalendar / openresearchcalendar.github.io

Documentation & Code for the community tool: 'Open Research Calendar'
https://openresearchcalendar.org
GNU General Public License v3.0
19 stars 8 forks source link

[Bug]: LinkedIn Posts unfinished #108

Open b-kennedy0 opened 2 hours ago

b-kennedy0 commented 2 hours ago

Is there an existing issue for this?

Contact Details

No response

What happened? / Describe the bug

Posts going to LinkedIn seem to be incomplete for some events, missing details about location and link to event.

Steps To Reproduce

N/A

What device are you seeing the problem on?

No response

Environment (if relevant)

N/A

Relevant log output

N/A

Anything else?

N/A

Code of Conduct

b-kennedy0 commented 2 hours ago

UPDATE: Seems to be related to the use of parentheses in the body text. LinkedIn API Doc

b-kennedy0 commented 2 hours ago

image

b-kennedy0 commented 2 hours ago

18 Oct 24, 15:15

Bundle 1 Collection Content New Open Research Event 🎓📆 - Wayfinders 4 a deep-dive into Subscribe to Open (S2O) [EN] held Online on 06/11/2024. For more info, view the event in our calendar: https://www.google.com/calendar/embed?src=openresearchcalendar@gmail.com&mode=day&dates=20241106%2F20241106 Visibility PUBLIC Organization urn:li:organization:104698896 Feed Distribution MAIN_FEED Is Reshare Disabled false

b-kennedy0 commented 2 hours ago

IML function replace() with search string: /([|{}@[\]\(\)<>#*_~\\])/g and replacement string: \$1