Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

fix(html pipe): Generate proper identifiers for complex headings #273

Merged
merged 1 commit into from
Apr 22, 2019

Conversation

ramboz
Copy link
Contributor

@ramboz ramboz commented Apr 19, 2019

Properly support complex headers that include child elements (strong, em, code, etc.) when
automatically generating the heading identifiers

This is a follow-up to #240 as @trieloff identified a remaining bug in the implementation as complex headings were not supported.

fix #26

Properly support complex headers that include child elements (strong, em, code, etc.) when
automatically generating the heading identifiers

fix #26
@codecov
Copy link

codecov bot commented Apr 19, 2019

Codecov Report

Merging #273 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #273   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          40     40           
  Lines         982    979    -3     
  Branches      202    202           
=====================================
- Hits          982    979    -3
Impacted Files Coverage Δ
src/utils/heading-handler.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 064dc5c...2fa997a. Read the comment docs.

@ramboz ramboz requested review from trieloff, koraa and kptdobe April 19, 2019 16:56
@tripodsan tripodsan merged commit 8c1b447 into master Apr 22, 2019
@tripodsan tripodsan deleted the issue/26-textContent branch April 22, 2019 01:38
adobe-bot pushed a commit that referenced this pull request Apr 22, 2019
## [1.5.3](v1.5.2...v1.5.3) (2019-04-22)

### Bug Fixes

* **html pipe:** Generate proper identifiers for complex headings ([#273](#273)) ([8c1b447](8c1b447)), closes [#26](#26)
@adobe-bot
Copy link

🎉 This PR is included in version 1.5.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for anchors on headings
3 participants