LinkAtStart
LinkAtStart?
Description: Simple formatting, as described in TWiki.TextFormattingRules
[[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?test=compare&debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Designed by: Crawford Currie
---++ Paragraphs
---+++ Expected
1st paragraph
2nd paragraph
---+++ Actual
1st paragraph
2nd paragraph
---++ Headings
---+++ Expected
Sushi
Maguro
---+++ Actual
---++ Sushi
---+++ Maguro
---++ Bold Text
---+++ Expected
Bold
---+++ Actual
*Bold*
---++ Bold Text with URL
---+++ Expected
reminded about http://www.koders.com
---+++ Actual
*reminded about http://www.koders.com*
---++ Italic Text
---+++ Expected
Italic
---+++ Actual
_Italic_
---++ Bold Italic
---+++ Expected
Bold italic
---+++ Actual
__Bold italic__
---++ Fixed Font
---+++ Expected
Fixed font
---+++ Actual
=Fixed font=
---++ Bold Fixed Font
---+++ Expected
Bold fixed
---+++ Actual
==Bold fixed==
---++ Bold Fixed Font
---+++ Expected
this should italicise each word
and this should embolden each word
mixing them should work
---+++ Actual
_this_ _should_ _italicise_ _each_ _word_
*and* *this* *should* *embolden* *each* *word*
_mixing_ *them* _should_ *work*
---++ Verbatim Mode
---+++ Expected
<verbatim>
Description
</verbatim>
class CatAnimal {
void purr() {
code <here>
}
}
---+++ Actual
Description
class CatAnimal {
void purr() {
code
}
}
---++ Separator
---+++ Expected
--
---+++ Actual
---
-------
--
---++ List Item
---+++ Expected
---+++ Actual
* bullet item
---++ Nested List Item
---+++ Expected
---+++ Actual
* level 1
* level 2
and some more
---++ Ordered List
---+++ Expected
- Sushi
- Sushi
- Sushi
- Sushi
- Sushi
- Sushi
---+++ Actual
1. Sushi
A. Sushi
i. Sushi
1. Sushi
A. Sushi
i. Sushi
---++ Nested bullets & numbers lists
---+++ Expected
WikiWordBeforeList?
- Things
- Stuff
- Something
- Hello kitty
WikiWordAfterList?
---+++ Actual
WikiWordBeforeList
1 Things
2 Stuff
* Banana Skins
* Other
*
3 Something
4 Hello kitty
WikiWordAfterList
---++ Definition List
---+++ Expected
- Sushi
- Japan
- Dim-Sum
- San Francisco, USA
- Honey Fried Locust
- Tombouctou, Mali
---+++ Actual
$ Sushi: Japan
$ Dim-Sum: San Francisco, USA
$ Honey Fried Locust: Tombouctou, Mali
---++ Table
---+++ Expected
L | C | R |
A2 | 2 | 2 |
A3 | 3 | 3 |
multi span |
A4-6 | four | four |
^ | five | five |
---+++ Actual
| *L* | *C* | *R* |
| A2 | 2 | 2 |
| A3 | 3 | 3 |
| multi span |||
| A4-6 | four | four |
|^| five | five |
|^| six | six |
---++ Prevent a Link
---+++ Expected
SunOS
---+++ Actual
!SunOS
---++ Disable Links
---+++ Expected
RedHat & SuSE
Note: noautolink tags will still be there, because they are not removed until immediately before topic display.
---+++ Actual
RedHat & SuSE
---++ Mailto: Links
Note: depends on setting of spam padding
---+++ Expected
Mail
Hi
a@b.com
Mail
Mail link
Subject_only
Subject only
Subject only
---+++ Actual
[[mailto:a@z.com Mail]]
[[mailto:?subject=Hi Hi]]
a@b.com
[[mailto:a@b.com][Mail]]
[[mailto:a@b.com][Mail link]]
[[mailto:?subject=Hi][Subject_only]]
[[mailto:?subject=Hi][Subject only]]
Subject only
---++ Wiki Word Links
---+++ Expected
WebPreferences
TWikiUsers
CompleteAndUtterNothing?
LinkBox
LinkBoxs
LinkBoxies
LinkBoxess
LinkBoxesses
LinkBoxes
---+++ Actual
WebPreferences
%MAINWEB%.TWikiUsers
CompleteAndUtterNothing
LinkBox
LinkBoxs
LinkBoxies
LinkBoxess
LinkBoxesses
LinkBoxes
---++ Square Brackets
---+++ Expected
wiki syntax?
Main.TWiki users
escaped:
[[wiki syntax]]
relative url
filter%rubbish;from'thelink?
---+++ Actual
[[wiki syntax]]
[[%MAINWEB%.TWiki users]]
escaped:
![[wiki syntax]]
[[/relative/URL][relative url]]
[[filter%rubbish;from'thelink]]
---++ Protocol Links
---+++ Expected
syntax?
GNU
XML
---+++ Actual
[[WikiSyntax][syntax]]
[[http://gnu.org][GNU]]
[[http://xml.org XML]]
---++ Anchors
---+++ Expected
TestCaseAutoFormatting#NotThere
Jump
To here
---+++ Actual
[[TestCaseAutoFormatting#NotThere]]
[[#MyAnchor][Jump]]
#MyAnchor To here
---++ Escaped variables 1
---+++ Expected
%MAINWEB%nowt
---+++ Actual
!%MAINWEB%nowt
---++ Escaped variables 2
---+++ Expected
nowt!%MAINWEB%
---+++ Actual
nowt!%MAINWEB%
---++ Complex table
---+++ Expected
A0 all rows |
B0 |
C0 widen this col |
D0LinkInColHeader |
E0 not a link this time |
^ |
B1 left |
C1 center |
D1 right |
E1 strong |
^ |
B2:E2 span whole row |
^ |
B3:C3 span 2 cols right |
D3 |
E3:E4 span 2 rows |
^ |
B4:B5 span 2 rows |
C4:D4 span 2 cols |
^ |
^ |
^ |
C5 |
D5:E5 span 2 cols |
---+++ Actual
Note that when viewing this topic the table below may be formatted by TablePlugin. This is switched off during the tests. Revisit this URL with ?debugenableplugins=
to see the table used in the test.
---+++ Actual
| *A0 all rows* | *B0* | *C0 widen this col* | *D0LinkInColHeader* | *E0 not a link this time* |
| ^ | B1 left | C1 center | D1 right | *E1 strong* |
|^| B2:E2 span whole row ||||
|^ | B3:C3 span 2 cols right||D3|E3:E4 span 2 rows |
| ^|B4:B5 span 2 rows |C4:D4 span 2 cols|| ^ |
|^|^|C5|D5:E5 span 2 cols||
---++ Link in a table
---+++ Expected
---+++ Actual
---+++ Actual
|http://www.google.co.uk|
| http://www.google.co.uk |
---++ Newlines in variable parameter lists
---+++ Expected
%IF{"context view" then="X" else="Y"}%
---+++ Actual
%IF{
"context view"
then = "X"
else = "Y"
}%
---++ Anchor links
---+++ Expected
AnchorLink#AnchorName?
TWikiVariables#VarWEBLIST
---+++ Actual
AnchorLink#AnchorName
TWiki.TWikiVariables#VarWEBLIST
---++ Link at end of topic
---+++ Expected
LinkAtEnd?
---+++ Actual
LinkAtEnd