Ted Drain schrieb:
> I need to embed the <> characters in a :ref: link title string.  i.e.
> something like this:
> 
> :ref:`Title <text> <link_target>`
> 
> I've tried escaping the characters:
> 
> :ref:`Title \<text\> <link_target>`
> 
> but that doesn't seem to work.  I get the same error in either case. 
> 
> Any thoughts?

Having these characters in the reference title is currently not supported,
just like for ordinary docutils external references.

However, I've changed the rule a bit in trunk, to the effect that you can
have brackets in the title as long as you have a target at the end
(and the target still can't contain angle brackets).

It's in trunk only since it's a slight behavior change that I don't want
to put into a maintenance release.

cheers,
Georg


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to