Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephen Judkins
haddock
Commits
7c77914a
Commit
7c77914a
authored
6 years ago
by
Alec Theriault
Browse files
Options
Downloads
Patches
Plain Diff
Accept test case
parent
59be4f38
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
haddock-library/src/Documentation/Haddock/Parser.hs
+1
-1
1 addition, 1 deletion
haddock-library/src/Documentation/Haddock/Parser.hs
html-test/ref/Bug865.html
+84
-0
84 additions, 0 deletions
html-test/ref/Bug865.html
with
85 additions
and
1 deletion
haddock-library/src/Documentation/Haddock/Parser.hs
+
1
−
1
View file @
7c77914a
...
...
@@ -796,7 +796,7 @@ hyperlink = choice' [ angleBracketLink, markdownLink, autoUrl ]
angleBracketLink
::
Parser
(
DocH
mod
a
)
angleBracketLink
=
DocHyperlink
.
flip
Hyperlink
Nothing
.
T
.
unpack
.
removeEscapes
DocHyperlink
.
makeLabeled
(
\
s
->
Hyperlink
s
.
fmap
DocString
)
<$>
disallowNewline
(
"<"
*>
takeUntil
">"
)
markdownLink
::
Parser
(
DocH
mod
Identifier
)
...
...
This diff is collapsed.
Click to expand it.
html-test/ref/Bug865.html
0 → 100644
+
84
−
0
View file @
7c77914a
<html
xmlns=
"http://www.w3.org/1999/xhtml"
><head
><meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/><title
>
Bug865
</title
><link
href=
"#"
rel=
"stylesheet"
type=
"text/css"
title=
"Ocean"
/><link
rel=
"stylesheet"
type=
"text/css"
href=
"#"
/><script
src=
"haddock-bundle.min.js"
async=
"async"
type=
"text/javascript"
></script
><script
src=
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
type=
"text/javascript"
></script
></head
><body
><div
id=
"package-header"
><ul
class=
"links"
id=
"page-menu"
><li
><a
href=
"#"
>
Contents
</a
></li
><li
><a
href=
"#"
>
Index
</a
></li
></ul
><p
class=
"caption empty"
></p
></div
><div
id=
"content"
><div
id=
"module-header"
><table
class=
"info"
><tr
><th
>
Safe Haskell
</th
><td
>
Safe
</td
></tr
></table
><p
class=
"caption"
>
Bug865
</p
></div
><div
id=
"synopsis"
><details
id=
"syn"
><summary
>
Synopsis
</summary
><ul
class=
"details-toggle"
data-details-id=
"syn"
><li
class=
"src short"
><a
href=
"#"
>
link
</a
>
:: ()
</li
></ul
></details
></div
><div
id=
"interface"
><h1
>
Documentation
</h1
><div
class=
"top"
><p
class=
"src"
><a
id=
"v:link"
class=
"def"
>
link
</a
>
:: ()
<a
href=
"#"
class=
"selflink"
>
#
</a
></p
><div
class=
"doc"
><p
>
An emphasized link
<a
href=
"#"
>
yes
<em
>
this
</em
>
is emphasized while this is
<code
>
monospaced
</code
></a
>
. And here is an image:
</p
><p
><img
src=
"https://www.haskell.org/static/img/haskell-logo.svg"
title=
"emphasis stripped"
/></p
></div
></div
></div
></div
><div
id=
"footer"
></div
></body
></html
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment