- #{resource.data.title}\n}
+ output += %{
- #{resource.data.title}\n} output += render_page_tree(resource.children, current_page, config, current_page_html) output += '
diff --git a/example/source/index.html.md.erb b/example/source/index.html.md.erb
index 528d67e9..6616d428 100644
--- a/example/source/index.html.md.erb
+++ b/example/source/index.html.md.erb
@@ -19,3 +19,5 @@ If you want slightly more control, you can always use HTML.
For more detail and troubleshooting, take a look at the `README.md` file in the root of this project.
<%= warning_text "Look out! A warning!" %>
+
+code element within a link
diff --git a/example/source/nested-page/another-nested-page/index.html.md b/example/source/nested-page/another-nested-page/index.html.md
new file mode 100644
index 00000000..71df944f
--- /dev/null
+++ b/example/source/nested-page/another-nested-page/index.html.md
@@ -0,0 +1,5 @@
+---
+title: Another nested page
+---
+
+# Another nested page
diff --git a/example/source/nested-page/index.html.md b/example/source/nested-page/index.html.md
new file mode 100644
index 00000000..ced4df9e
--- /dev/null
+++ b/example/source/nested-page/index.html.md
@@ -0,0 +1,5 @@
+---
+title: Nested page
+---
+
+# Nested page
diff --git a/lib/assets/javascripts/_modules/anchored-headings.js b/lib/assets/javascripts/_modules/anchored-headings.js
index 1dad5a87..a1e8c118 100644
--- a/lib/assets/javascripts/_modules/anchored-headings.js
+++ b/lib/assets/javascripts/_modules/anchored-headings.js
@@ -11,7 +11,7 @@
var $this = $(this)
$this.addClass('anchored-heading')
$this.prepend(
- ' '
+ ' '
)
}
}
diff --git a/lib/assets/javascripts/_modules/collapsible-navigation.js b/lib/assets/javascripts/_modules/collapsible-navigation.js
index 1d5c2e62..56cf5309 100644
--- a/lib/assets/javascripts/_modules/collapsible-navigation.js
+++ b/lib/assets/javascripts/_modules/collapsible-navigation.js
@@ -22,7 +22,7 @@
var $topLevelItem = $($topLevelItems[i])
var $heading = $topLevelItem.find('> a')
var $listing = $topLevelItem.find('> ul')
- var id = 'toc-' + $heading.text().toLowerCase().replace(' ', '-')
+ var id = 'toc-' + $heading.text().toLowerCase().replace(/\s+/g, '-')
// Only add collapsible functionality if there are children.
if ($listing.length === 0) {
continue
diff --git a/lib/assets/stylesheets/modules/_technical-documentation.scss b/lib/assets/stylesheets/modules/_technical-documentation.scss
index 6530fce7..b701dd89 100644
--- a/lib/assets/stylesheets/modules/_technical-documentation.scss
+++ b/lib/assets/stylesheets/modules/_technical-documentation.scss
@@ -1,13 +1,10 @@
.technical-documentation {
- @include govuk-font($size: 19);
+ @include govuk-font($size: 19, $line-height: 1.4);
// Required for IE11 to render
'
else
diff --git a/lib/source/layouts/core.erb b/lib/source/layouts/core.erb
index 79b62e88..5be3b927 100644
--- a/lib/source/layouts/core.erb
+++ b/lib/source/layouts/core.erb
@@ -62,13 +62,15 @@
<%= partial "layouts/page_review" %>