Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

The new editcomment.php script[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Jul 11, 2020 02:54 AM UTC:

I updated the Format value in the Comment and Kibbitz tables to be HTML for any comment with HTML tags in it.

I modified the Markdown format to not allow HTML. It will display any HTML as text. However, it will still work with shortcodes.

I have modified the Text format to place text inside of <PRE STYLE="white-space: pre-wrap;"></PRE> tags, and I have stopped it from putting <P></P> tags around each paragraph. The style given to the tag allows it to wrap long lines. For the sake of backward compatibility, it will allow HTML and work with shortcodes. Unlike HTML mode, it does not require the use of <P> tags to separate paragraphs. A blank line will do.

The Subject entry box is wider than my screen.

I reduced it in size.

When I press Preview, make some changes, and press Preview again, the preview is empty. (This was before logging in, if that matters.)

I signed out to test this, and initially, there didn't seem to be a problem, but when I tried to post an earlier draft of this reply, I got the same problem. It is a bit too late right now to deal with it. It seems related to not signing me in even though I've entered my userid and password.

There's an Edit and View (and [*]) link on the preview that doesn't work (and probably shouldn't be there).

I removed those.

When I draft a message and then try to log in, I get an error along the lines of "You must be logged in as the original author to edit a comment" (this was after Preview, in case that matters).

I fixed that.

We should add

  1. a link to a markdown guide; since Parsedown uses github-flavored markdown, maybe https://guides.github.com/features/mastering-markdown/ ?
  2. possibly a short list of common markdown?

I added a link to a site called Markdown Guide, and I wrote a quick Markdown guide.