Implementation of the Power Iteration method for finding eigenvalues of a matrix, using math-php
Stylelint plugin to disallow certain tags without a class qualifier in selectors
Extension for the league/commonmark Markdown parser to support definition lists.
Update extension for league/commonmark v2
Merge pull request #2 from Moxio/v2
Update extension for league/commonmark v2
The diff algorithm does not always keep HTML entity references intact, which can be problematic when later loading the resulting diff as HTML (e.g. when diffing a list entry). This is best illustrated by the following test:
<options></options>
<oldText>
<ol><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec non justo & sapien;</li></ol>
</oldText>
<newText>
<ol><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec non sapien et justo;</li></ol>
</newText>
<expected>
<ol class="diff-list"><li class="normal">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec non <ins class="diffins">sapien et </ins>justo<del class="diffdel"> & sapien</del>;</li></ol>
</expected>
This test currently crashes with an error message DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1
from ListDiffLines.php:409
. This is because it tries to load the string
<body>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec non <ins class="diffins">sapien et </ins>justo<del class="diffdel"> &</del>;<del class="diffdel"> sapien;</del></body>
You can see that the diff algorithm broke up the &
from its terminating ;
, which leads to invalid HTML.
The solution might be to consider HTML entities a special case in the regex in AbstractDiff.php
line 457 (e.g. adding an extra &[a-zA-Z0-9]+;
case there). That fixes the given test without breaking the others, but I cannot oversee what further possible impact that may have.
They removed the revocation certificate from https://apt.grafana.com/gpg.key (see https://grafana.com/blog/2023/01/12/grafana-labs-update-regarding-circleci-security-updates/#changes-from-original-post), so it seems this can now be fixed by just updating the key ID.
For anyone who wants a workaround, you can apply the following 'monkeypatch' after including the grafana
class:
Apt::Source <| title == 'grafana' |> {
key => {
'id' => '0E22EB88E39E12277A7760AE9E439B102CF3C0C6',
'source' => 'https://apt.grafana.com/gpg.key',
},
}
Bump slevomat dependency to allow 8.8.0
Update requirements to allow the latest version of slevomat. mainly because of this change https://github.com/slevomat/coding-standard/commit/fbc18cfa65673edc41e31db97934ca03930530cd
Merge pull request #18 from mjrider/patch-1
Bump slevomat dependency to allow 8.8.0
Update requirements to allow the latest version of slevomat. mainly because of this change https://github.com/slevomat/coding-standard/commit/fbc18cfa65673edc41e31db97934ca03930530cd
Add strikethrough styling for cancelled gigs
Add data about speaking gigs due to COVID-19