Commit Graph

15 Commits (5efda4da294e37a98b04561f475b186ae8c64138)

Author SHA1 Message Date
Joey Hess 16c44bd209 add smiley to work around markdown
{*} can be interpreted as the start of emphasised text by markdown, so add
{x} as an alternate way to get the same symbol
2008-07-17 13:03:00 -04:00
Joey Hess df3a8b183c smiley escaping fixes
Smileys need to be double-escaped to work, since the smiley plugin runs as
a sanitize hook, and markdown helpfully removes one level of escapes first.

There were some bugs in the smiley handling code that made escaped smileys
still be expanded. After unescaping a smiley, it needed to move pos forward
past it or the next pass would expand it.

Also, once the m//g got to the end, it seemed to loop back through and make
one more pass (a difference in perl 5.10's regexp exngine? I observed that
pos was undefined when this happened, so added a `last unless defined pos`.
2008-07-17 12:34:38 -04:00
Joey Hess fa90bdf4bf fix up some links 2007-12-08 20:04:18 -05:00
joey 9c5f4761d8 * Support for looking in multiple directories for underlay files.
* Plugins can add new directories to the search path with the add_underlay
  function.
* Split out smiley underlay files into a separate underlay, so if the plugin
  isn't used, the wiki isn't bloated with all those files.
2007-08-28 01:59:01 +00:00
joshtriplett b074b8114a Add enabled/disabled indicator at the top of the smileys page. 2007-04-09 21:01:56 +00:00
joshtriplett a4d5000f04 * Add neutral smileys ":|" and ":-|", and question icon smiley "(?)",
with images taken from phpBB (GPL) and converted with gif2png.
2007-04-06 02:53:36 +00:00
joey 2f1e4615f2 web commit by JoshTriplett: Add :-\ 2007-04-05 23:35:28 +00:00
joey cf827b5107 formatting 2007-04-04 01:58:55 +00:00
joey a358a18fb6 add :-P 2007-04-04 01:56:02 +00:00
joey 88e8f08c8f * Make the basewiki be full of symlinks to pages that should be the same
in the doc wiki. This will allow direct edits to alter the base wiki
  without manual munging.
2007-02-13 23:10:45 +00:00
joey 788b7715b6 merge change from doc to basewiki while removing an introduced duplicate
smiley
2007-01-18 14:41:25 +00:00
joey 778597174e web commit by JoshTriplett: Add more smileys with noses. In particular, add B-), which MoinMoin supports. 2007-01-18 07:35:41 +00:00
www-data ff3ae9fbb5 web commit by JonasSmedegaard: Corrected typo: imge -> image. 2006-07-30 14:46:48 +00:00
www-data 60ff28e46d web commit by joey 2006-05-04 04:48:34 +00:00
www-data 12c08195e2 web commit by joey 2006-05-04 04:41:52 +00:00