-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the RLH-Site-Code wiki!
2018-10-07 Parsing Test:
NOTE Chapter This is a chapter title
"C.R.E.A.M." is not a song by Doug E. Fresh...
This line tests to make sure colon: is not treated like a period.
This line tests to make sure semicolon; not treated like a period.
This line tests to make sure question marks are treated like a period?
This line tests to make sure exclamation marks are treated like a period!
The next line tests linking, and makes sure strong and block quote tags are ignored.
Salam was a theoretical physicist who won the Nobel Prize in Physics, along with Sheldon Glashow and Steven Weinberg, in 1979 for his contribution to the electroweak theory.
ABDUS SALAM: Yeah, I invented that name and I tried to sell it to Weinberg. In ’78 conference in Tokyo, I said that electroweak is a good name, a simple name which will be easier. “No, let’s keep it electricity and magnetism unified with nuclear forces and so on.” He was not very partial to that but later on it simply caught on and the other names all died out.
The eight lines after this one should be ignored because they have HTML tags – they shouldn't be eaten. This was a problem early on but was fixed and working just before the link fix.
This line tests to make sure
Lines with HTML tags are left alone
- As idiot proof as possible
- PC/Mac and Android/iPhone agnostic
- Used as much open source software as possible
- Didn’t preclude keeping existing habits
Here’s the line right before the note chapter part 2 tag.
NOTE chapter Part 2: 2018-09-13 tests
This sentence ends with??
This sentence ends with FBI.
This sentence ends with a period and an ellipsis….
Text “Text” Text. This sentence has a middle initial: Jane C. Fairchild.
The three following sentences should be parsed separately:
“This is a short sentence in quotes.” “This is a short sentence in quotes.” “This is a short sentence in quotes.”
P1This text starts a new paragraph, so it should have a note tag above it.
P2This text starts another new paragraph, so it should have a note tag above it. P2 continues the paragraph.
P3 starts a new paragraph – here’s some text that doesn’t end with a period, but because the next line starts with the name it should parse as a new segment anyway –
This sentence ends with a."
This sentence ends with a." Here’s another line in the same paragraph. Here’s another line in the same paragraph. Here’s another line in the same paragraph.
This sentence ends with a?" Here’s another line in the same paragraph.
This sentence ends with a!" Here’s another line in the same paragraph.
Here’s another paragraph. Here’s another one in the same paragraph
Here’s another paragraph.
This text introduces a link: http://rlh.demo.sqnts.xyz/
Here’s more text.
Here’s how an image tag is treated:
Here’s more text.
The following paragraph shows how a headings tag is treated.
NOTE chapter
Here’s text after the headings tag.
Here’s the line right before the note chapter part 3 tag.
NOTE chapter Part 3: Punctuation before speaker tests
Following is more punctuation before speaker tags…
This is a regular old sentence.
Following is more punctuation….
This is a regular old sentence.
Following is more punctuation–
This is a regular old sentence.
Following is more punctuation—
This is a regular old sentence.
Following is more punctuation –
This is a regular old sentence.
Following is more punctuation —
This is a regular old sentence.
This is the second to last line.
This is the last line.