0

Suppose, I want to link "http://www.google.com" with the text Search & Learn. How do I use that in Sphinx ?

E.g. text : Now you can `Search & Learn`_.

.. _Search & Learn: http://www.google.com doesn't work as there's & in the text.

Kevad
  • 2,781
  • 2
  • 18
  • 28
  • 1
    Please explain exactly what you mean by "doesn't work". Is there any error message? I cannot reproduce this problem. Using `&` works fine for me. – mzjn Aug 22 '14 at 08:39
  • It Works now. I put the "_" inside " ` " initially. Thanks. – Kevad Aug 25 '14 at 08:14
  • This question no longer makes sense. There is no error to be fixed. – mzjn Aug 26 '14 at 15:14

1 Answers1

0

The problem is the link syntax, not the & character.

The underscore must come after the second backtick, like this:

`Search & Learn`_
mzjn
  • 48,958
  • 13
  • 128
  • 248
  • My bad... Sorry for the typo but it wouldn't still work even if the '_' is outside. It's not allowing special chars. like '&' , '.' etc. – Kevad Aug 20 '14 at 16:56
  • My apologies.. I didn't see it. Corrected now. – Kevad Aug 21 '14 at 18:08