• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7667: Extra newline in raw.view.tmpl

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Low New      

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

This not really a bug, and maybe it's there for a purpose, but in view.raw.tmpl there is a space before the TEXT tag and the top of the file. This causes a P tag to be inserted. It's not normally a problem unless you want to output XML or other structured data from your topic.

-- TWiki:Main/MichaelSprague - 2015-06-15

There is no view.raw.tmpl template file in the TWiki distribution. Likely added by you?

The documented way to get the raw text is a raw=text or raw=all URL parameter to the view script - see TWikiScripts#view

-- TWiki:Main.PeterThoeny - 2015-06-16

ItemTemplate
Summary Extra newline in raw.view.tmpl
ReportedBy TWiki:Main.MichaelSprague
Codebase 6.0.0
SVN Range TWiki-6.0.1-trunk, Sat, 06 Jun 2015, build 29295
AppliesTo Engine
Component

Priority Low
CurrentState New
WaitingFor

Checkins

TargetRelease

ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2015-06-16 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback