Menu

Commit [r6413]  Maximize  Restore  History

Improvements to the `[[Image]]` macro:

* Absolute URLs now work fine in all cases. Closes #5704.
* Added support for server-relative linking: `//file`
* Added support for project-relative linking: `/file`

The last two work like the new 0.11 syntax for referencing server and project root.

Added a test case for each of the alternatives.

osimons 2008-01-25

changed /trunk/trac/wiki/macros.py
changed /trunk/trac/wiki/tests/macros.py
/trunk/trac/wiki/macros.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/macros.py Diff Switch to side-by-side view
Loading...