master
joey 2007-08-22 02:12:30 +00:00
parent b78b8b8120
commit 5c3eb4ae5d
1 changed files with 6 additions and 1 deletions

View File

@ -175,10 +175,15 @@ Okay, the last version of the tex plugin for ikiwiki can be downloaded [here](ht
> I didn't break the checking code when I did it. It would be nice to write
> a test case that tries to feed it bad code and makes sure it rejects it.
>
> Question: does it really make sense to have an alt tag for the image
> Does it really make sense to have an alt tag for the image
> that contains the tex code? Will that make any sense when browsing
> without images?
>
> I'm thinking about renameing the preprocessor directive to teximg.
> \[[teximg code="" alt="foo"]] makes sense.. Would it make sense to rename
> the whole plugin, or do you think that other tex stuff should go in this
> same plugin?
>
> Note: I removed the style= attribute, since as I've told you, the
> htmlsanitizer strips those since they can be used to insert javascript. I
> put in a class=teximage instead; the style sheet could be modified to