[Commit revision a4a1400]
Author: Nao
Date: Thu, 01 May 2014 21:36:50 +0200
Stats: 1 file changed; +3 (insertions), -2 (deletions)
[Commit revision e739d0b]
Author: Nao
Date: Thu, 01 May 2014 21:42:48 +0200
Stats: 2 files changed; +63 (insertions), -42 (deletions)
Author: Nao
Date: Thu, 01 May 2014 21:36:50 +0200
Stats: 1 file changed; +3 (insertions), -2 (deletions)
- Getting these entities to behave with messages is complicated. Because westr::safe will disregard the location of the text it's transforming, I've decided to go back on this and just have plain entities protected as well, instead of kept that way. If you need to use a special UTF8 character in your posts, you can always google for it, and paste the actual character into your post... Personally, I'm done with preparsecode stuff for now. (Post2.php)
[Commit revision e739d0b]
Author: Nao
Date: Thu, 01 May 2014 21:42:48 +0200
Stats: 2 files changed; +63 (insertions), -42 (deletions)
- Oh yes, I forgot to commit my actual rewrite of preparsecode which I mentioned in the last commit... Uh.
- Fixed quick edit and regular edit/post, when it comes to handling entities and URLs. (Class-Editor.php, topic.js)
- The entire 'modulo' trick for code tags is just what it is, a smart trick, but ultimately it'll probably fail to recognize malformed posts. I've replaced it with a proper method, wedit::is_protected, which is probably a bit slower, but is only called when posting, so it's not like it's a big deal. (Class-Editor.php)