Plain text conversion link issues

13 views
Skip to first unread message

Bryn Cooke

unread,
Jun 18, 2014, 12:15:14 PM6/18/14
to bl...@googlegroups.com
Hi,

I'm trying to use the plain text conversion with wikinews and am getting some odd results for internal wiki links:

For instance:
An anti budget protest descended on {{w|Brisbane}} {{w|Australia}} today in response to this past Tuesdays federal budget. Among the speakers at the pre march rally were {{w|Australian Labor Party}}

is rendered as:
An anti budget protest descended on {{w}} {{w}} today in response to this past Tuesdays federal budget. Among the speakers at the pre march rally were {{w}}

Ideally I would like:
An anti budget protest descended on Brisbane Australia today in response to this past Tuesdays federal budget. Among the speakers at the pre march rally were Australian Labor Party


I'm just doing something like this:
String result = model.render(new PlainTextConverter(), page.getText());

Am I doing something wrong?

Bryn
Reply all
Reply to author
Forward
0 new messages