Commit Graph

12088 Commits (a79c52337c1d42f18492caf0ba3da970874210c1)

Author SHA1 Message Date
MariaJackson bcf74bd8f8 2010-01-28 09:58:20 +00:00
Joey Hess e269fbd7af new repo 2010-01-28 04:35:58 -05:00
Joey Hess 73253d6925 template: Preprocess parameters before htmlizing.
Consider a template like:

[[!template type=note text="""
[[!inline pages="*foo*"]]
"""]]

The text parameter is htmlized before being passed into the template (in
case the template wraps it in a <span> that prevents markdown from
htmlizing it later).

But, when markdown sees "*foo*", it turns that into <em>foo</em>.
Later, when preprocessing the inline directive, that leads to suprising
results.

To fix this, I made template parameters be preprocessed (and filtered)
before being htmlized.

Note that I left in the preprocessing (and filtering) of the template
output at the end. That's still relevant when the template itself contains
preprocessor directives.
2010-01-26 22:33:46 -05:00
Joey Hess f89b6f49d0 Revert spam 2010-01-24 23:32:19 -05:00
HelenOliver 2f4ae4fa05 added references 2010-01-25 04:21:27 +00:00
http://kerravonsen.dreamwidth.org/ e9ee3d7d85 note new version of getfield 2010-01-24 09:41:44 +00:00
http://kerravonsen.dreamwidth.org/ f6b2edef64 new release of getfield; can now get values from other pages as well as current page 2010-01-24 09:38:40 +00:00
http://kerravonsen.dreamwidth.org/ 29c475af4d link to site 2010-01-24 03:06:06 +00:00
http://kerravonsen.dreamwidth.org/ 27d2d7115d note that report is now released 2010-01-24 02:59:11 +00:00
http://kerravonsen.dreamwidth.org/ bcde9b7412 new report plugin 2010-01-24 02:52:57 +00:00
Joey Hess 4affa37f8b response 2010-01-23 21:13:29 -05:00
http://www.google.com/profiles/gsvick 5bcbb58413 2010-01-24 00:03:08 +00:00
Joey Hess 58eaf27137 response 2010-01-23 18:33:13 -05:00
http://www.google.com/profiles/gsvick c301ce26a4 2010-01-23 20:46:58 +00:00
Joey Hess ce64321282 response 2010-01-23 15:26:12 -05:00
http://www.google.com/profiles/gsvick a94039601a 2010-01-23 19:55:06 +00:00
Joey Hess dcc70ca629 response 2010-01-23 14:34:31 -05:00
Joey Hess 8b2977ea7a response 2010-01-23 14:14:34 -05:00
http://www.google.com/profiles/gsvick 5456f720cd 2010-01-23 19:03:32 +00:00
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI d0a06e6952 update about wiki page navigation 2010-01-23 16:37:42 +00:00
http://kerravonsen.dreamwidth.org/ b3b2402647 discovered a wrinkle 2010-01-22 23:36:17 +00:00
http://kerravonsen.dreamwidth.org/ cefcf60843 2010-01-22 23:24:20 +00:00
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI 6c5f9b914a new forum thread - file navigation 2010-01-22 22:46:31 +00:00
Joey Hess 450f8b78b8 add news item for ikiwiki 3.20100122 2010-01-22 16:26:31 -05:00
Joey Hess ac1b406431 releasing version 3.20100122 2010-01-22 16:25:22 -05:00
Joey Hess d264164673 response 2010-01-22 15:54:00 -05:00
http://kerravonsen.dreamwidth.org/ f24ca627dd formatting 2010-01-22 07:38:12 +00:00
http://kerravonsen.dreamwidth.org/ 2e585ec001 query, help! 2010-01-22 07:36:24 +00:00
Joey Hess ee9ae0a314 po: avoid crash when page is empty
Note that there is an associated po4a warning when a page is empty:
  Use of uninitialized value $file in substitution (s///) at /usr/share/perl5/Locale/Po4a/Text.pm line 205.
I've filed a bug with po4a about that, but the important thing is fixing
the crash here.
2010-01-21 15:33:20 -05:00
Joey Hess 8bf2f5a31a handle git-notes breakage
The new git-notes feature in git 1.6.6 changes git log output in a way that
broke ikiwiki's parser if notes are added to commits.

I decided to deal with this by disabling notes when ikiwiki uses git,
by setting GIT_NOTES_REF="". AFAICS, looking up notes when dumping logs
will only waste time, since it does not currently seem to make sense for
ikiwiki to do anything with the notes.
2010-01-19 23:42:04 -05:00
Joey Hess 30c5f62f74 update 2010-01-18 20:41:12 -05:00
Joey Hess 604afbedd3 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-01-18 18:00:21 -05:00
Joey Hess 4a8389825a update 2010-01-18 18:00:10 -05:00
http://www.google.com/profiles/schmonz be523e7740 response 2010-01-18 19:13:00 +00:00
Joey Hess 265b4f0576 response 2010-01-18 12:38:05 -05:00
Joey Hess ccf14b185e brace style and layout 2010-01-18 12:34:19 -05:00
Joey Hess 32472c02eb brace style 2010-01-18 12:33:25 -05:00
Joey Hess c30f0dda9f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-01-18 12:28:54 -05:00
http://apoca.myopenid.com/ f072f3a9c5 2010-01-18 17:25:13 +00:00
Joey Hess 461804a5e4 clarify error 2010-01-18 12:09:54 -05:00
Joey Hess 97bc5d8bca typos 2010-01-18 12:08:26 -05:00
simonraven 9c0c8b57fb 2010-01-17 17:27:51 +00:00
http://oblomov.myopenid.com/ fa0bbaab21 Suggest # as page-field separator 2010-01-17 09:56:26 +00:00
http://oblomov.myopenid.com/ fc7a047a47 2010-01-17 09:55:07 +00:00
simonraven 2137d1f68c 2010-01-17 09:31:07 +00:00
simonraven b3363aa89f 2010-01-17 09:28:07 +00:00
http://edrex.myopenid.com/ d652bf3ddf 2010-01-17 07:24:31 +00:00
http://edrex.myopenid.com/ 5588abc2be 2010-01-17 07:22:54 +00:00
http://edrex.myopenid.com/ 1ddef7da7b 2010-01-17 07:22:03 +00:00
http://kerravonsen.dreamwidth.org/ 354468d280 respond: markup, not internals 2010-01-17 00:10:55 +00:00