IviFoundation / ivifoundation.github.io

The future website of the IVI Foundation
https://ivifoundation.github.io
5 stars 4 forks source link

Fix broken links due to word wrapping #43

Closed alejandro5042 closed 1 year ago

alejandro5042 commented 1 year ago

GFM says:

Although link titles may span multiple lines, they may not contain a blank line.

Source: https://github.github.com/gfm/#links

Even if they don't have a blank line, VS Code doesn't like them:

image

vs.

image

Plus, it's weird. This PR removes all new lines via regex:


PR based on #41.

joseph-mueller commented 1 year ago

I think this is a safe change. It looks like a lot of links were touched that didn't substantially change. I suspect that is because the regex replaces strings of white space (/s*) with a single space, but I didn't verify.

So, it's sort of a noisy commit, but arguably it cleans up the sources some.

I'm also a little puzzled because I tested most or all of these links using Jekyll serve. Were these just ugly or non-functional?