Question
Hey dudes and dudettes, come across an issue with my install of TWiki, where if I use
WikiSyntax to make stuff bold or the automatic linking of url's and email addresses that is supposed to happen, well, doesn't happen if it's contained within a html tag. Makes this rather difficult :/
Also the stuff to make headings ---+++ doesn't seem to work, all I see is a few +++'s next to the text.
Everything else is working good though!
.
- TWiki version: Dec2000
- Web server: Apache
- Server OS: Linux
--
PeteGoldsmith - 05 Jul 2001
Answer
I am a newbie, so someone else may help you more.
With respect to your second question, I had trouble with the ---+++ until I realized I needed a space between the ---+++ and the text of the heading.
Your first question confuses me -- do you actually mean within an html tag, like <---+++ Heading>, or do you mean between two html tags, like <H3>---+++ Heading</H3>? In the first case, I wouldn't expect anything to be displayed because TWiki would treat it as an invalid HTML tag and "make it" invisible. In the second case, I suspect the TWiki code is not prepared to deal with "nested" markup. But, I'm just guessing.
Post an example of the problem.
--
RandyKramer - 05 Jul 2001
I don' exactly understand your first question. For example
WebHome does not get linked because it is made bold. If you want to link it as bold write
*[[WebHome]]*
or
<b> WebHome </b>
to get
WebHome.
Regarding
---++
style headings, this is not yet in the version you are using, see
TWiki.TWikiHistory for details.
mm, sorry I wasn't more clear, what I mean is, I can say have <H1>WelcomeToThisPage</H1> and the
WikiWord won't be linked. The other place I've come across this is
WikiWords inside <table><tr><td></td></tr></table>, which also don't seem to work
--
PeteGoldsmith - 09 Jul 2001
Pete,
Looks like (as Peter says above) including a space before and after the WikiWord allows it to be recognized as a link (it also appears you don't always need the spaces).
Spaces appear to be needed with a table defined using HTML markup:
A test table |
A test |
A test table |
WebHome |
Spaces don't appear to be necessary in the next two cases:
--
RandyKramer - 10 Jul 2001
I don't think the part about wiki markup recognition inside of html tags has been addressed yet. Wiki formatting isn't going to be recognized inside html tags since I bet the wiki parser just looks for the end tag and does not process the "guts".
--
DavidLeBlanc - 12 Jul 2001
As we don't have a clear example to refer to, I will assume it has been answered.
Actually TWiki markup recognition is only avoided inside
<verbatim>
tags, and mostly avoided inside
<pre>
tags, otherwise it will always happen. The problem, and
RandyKramer says, might be just the lack of spaces. If you don't put a space between the HTML tags and the wiki mark-up then the TWiki engine will not consider it a mark-up at all.
And note that this is an implementation feature, it's probably the only way to have a simple wiki markup language.
--
EdgarBrown - 12 Jul 2001