Conversation
134e8ef to
ec0d3b1
Compare
ec0d3b1 to
10b14cc
Compare
|
@dependabot recreate |
b33db39 to
c4a1351
Compare
|
Oh I see what's happened, the way |
|
So what's happening here in detail:
However that is brittle, as seen with this version bump; the interface has changed (which is fair, this isn't the documented way of using the library), so to make our code work again we need to copy the changes from markdown-rails. Which is annoying and work we'd rather not be doing, we might as well just vendor the code. Making the two gems work together would be easier if one or both exposed mixins so that we could create a class that inherits methods from both, but currently neither gem does. |
|
I've raised a PR against govuk-markdown suggesting adding a mixin module that we can use to simplify our usage with markdown-rails: |
c4a1351 to
9a24664
Compare
|
The govuk_markdown PR with the mixin has been merged and the mixin released, so we can refactor our code now to unblock this PR. I've raised #1120, and rebased this PR on that to test that it has had the effect desired. |
|
@dependabot rebase |
|
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
|
@dependabot recreate |
9a24664 to
bab3245
Compare
|
@dependabot rebase |
|
Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request |
|
@dependabot rebase |
Dependabot couldn't find the original pull request head commit, c4a1351.
bab3245 to
40058f4
Compare
Pull request was closed
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
|
🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-940.www.review.forms.service.gov.uk/ It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |
Bumps markdown-rails from 2.1.0 to 2.2.0.
Commits
54444c5Bump versione49576bSet a default view context1181cdcUse template handler9114355Put attr_writer :view_context back1e25b61Initialize with options154c018Delegate helpersd67af04Change from instance to class for renderersd7ac839Use Rails helpers for views instead of delegation94a5a08Pass view_context to markdown rails renderer2e3e953Add Github CI workflow