Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7763ce75
Commit
7763ce75
authored
Oct 29, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enabling inner links for STXNG only worked when using STXNG
standalone but not through DTML. Fixed !
parent
60d19637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/python/DocumentTemplate/DT_Var.py
lib/python/DocumentTemplate/DT_Var.py
+5
-4
No files found.
lib/python/DocumentTemplate/DT_Var.py
View file @
7763ce75
...
...
@@ -217,8 +217,8 @@ Evaluating expressions without rendering results
'''
# '
__rcs_id__
=
'$Id: DT_Var.py,v 1.4
5 2001/10/26 16:07:50 matt
Exp $'
__version__
=
'$Revision: 1.4
5
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: DT_Var.py,v 1.4
6 2001/10/29 16:56:43 andreasjung
Exp $'
__version__
=
'$Revision: 1.4
6
$'
[
11
:
-
2
]
from
DT_Util
import
parse_params
,
name_param
,
str
import
re
,
string
,
sys
...
...
@@ -417,8 +417,9 @@ def len_comma(v, name='(Unknown name)', md={}):
StructuredText
=
None
def
structured_text
(
v
,
name
=
'(Unknown name)'
,
md
=
{}):
global
StructuredText
if
StructuredText
is
None
:
from
StructuredText
import
html_with_references
return
str
(
html_with_references
(
str
(
v
),
level
=
3
,
header
=
0
))
if
StructuredText
is
None
:
from
StructuredText.StructuredText
import
HTML
return
HTML
(
str
(
v
),
level
=
3
,
header
=
0
)
def
sql_quote
(
v
,
name
=
'(Unknown name)'
,
md
=
{}):
"""Quote single quotes in a string by doubling them.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment