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
58a948e1
Commit
58a948e1
authored
Jan 24, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged from 2.3
parent
15b889f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
lib/python/StructuredText/HTMLClass.py
lib/python/StructuredText/HTMLClass.py
+0
-2
lib/python/StructuredText/StructuredText.py
lib/python/StructuredText/StructuredText.py
+10
-2
No files found.
lib/python/StructuredText/HTMLClass.py
View file @
58a948e1
...
@@ -301,8 +301,6 @@ def html_quote(v, name='(Unknown name)', md={},
...
@@ -301,8 +301,6 @@ def html_quote(v, name='(Unknown name)', md={},
((
'&'
),
'&'
),
((
'&'
),
'&'
),
((
'<'
),
'<'
),
((
'<'
),
'<'
),
((
'>'
),
'>'
),
((
'>'
),
'>'
),
((
'
\
213
'
),
'<'
),
((
'
\
233
'
),
'>'
),
((
'"'
),
'"'
))):
#"
((
'"'
),
'"'
))):
#"
text
=
str
(
v
)
text
=
str
(
v
)
for
re
,
name
in
character_entities
:
for
re
,
name
in
character_entities
:
...
...
lib/python/StructuredText/StructuredText.py
View file @
58a948e1
...
@@ -204,7 +204,7 @@ Special symbology is used to indicate special constructs:
...
@@ -204,7 +204,7 @@ Special symbology is used to indicate special constructs:
</TABLE>
</TABLE>
$Id: StructuredText.py,v 1.3
0 2001/01/04 15:01:59
brian Exp $'''
$Id: StructuredText.py,v 1.3
1 2001/01/24 16:52:27
brian Exp $'''
# Copyright
# Copyright
#
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
@@ -256,6 +256,14 @@ $Id: StructuredText.py,v 1.30 2001/01/04 15:01:59 brian Exp $'''
...
@@ -256,6 +256,14 @@ $Id: StructuredText.py,v 1.30 2001/01/04 15:01:59 brian Exp $'''
# (540) 371-6909
# (540) 371-6909
#
#
# $Log: StructuredText.py,v $
# $Log: StructuredText.py,v $
# Revision 1.31 2001/01/24 16:52:27 brian
# merged from 2.3
#
# Revision 1.30.4.1 2001/01/24 16:51:48 brian
# Fixed regex in html_with_references (bug 1649) and also removed the \213
# and \233 screening from html_quote (these must be an application-level
# decision, else unicode cannot be supported).
#
# Revision 1.30 2001/01/04 15:01:59 brian
# Revision 1.30 2001/01/04 15:01:59 brian
# Merged StructuredText-Dev
# Merged StructuredText-Dev
#
#
...
@@ -784,7 +792,7 @@ def html_quote(v,
...
@@ -784,7 +792,7 @@ def html_quote(v,
def
html_with_references
(
text
,
level
=
1
):
def
html_with_references
(
text
,
level
=
1
):
text
=
gsub
(
text
=
gsub
(
'[
\
0
\
n
]
..
\
[
\
([-_
0-9_a-zA-Z-]+
\
)
\
]'
,
'[
\
0
\
n
]
\
.
\
.
\
[
\
([
0-9_a-zA-Z-]+
\
)
\
]'
,
'
\
n
<a name="
\
\
1">[
\
\
1]</a>'
,
'
\
n
<a name="
\
\
1">[
\
\
1]</a>'
,
text
)
text
)
...
...
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