From adf815e35f4dee7252d085fab04fdfaceebebb51 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 30 Sep 2017 16:39:15 -0500 Subject: [PATCH] Fix data-title attribute for H2 elements in TOC (#884) I believe the data-title attribute for H2 elements was mistakenly using the parent H1 content as its value, rather than its own content. --- source/layouts/layout.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index e2d667f71a0..bb0943e026e 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -77,7 +77,7 @@ under the License.