aboks
Repos
56
Followers
12

Implementation of the Power Iteration method for finding eigenvalues of a matrix, using math-php

3
1

Custom sniffs for PHP_CodeSniffer

16
10

Stylelint plugin to disallow certain tags without a class qualifier in selectors

20
1

Captain Hook Plugin to validate files using ESLint

8
1

Exposes SQLite APIs that are otherwise not available in PHP

15
3

Extension for the league/commonmark Markdown parser to support definition lists.

3
1

Events

aboks create tag v2.0.0
Created at 2 weeks ago
aboks delete branch v2
Created at 2 weeks ago
pull request closed
Update extension for league/commonmark v2
Created at 2 weeks ago

Update extension for league/commonmark v2

Merge pull request #2 from Moxio/v2

Update extension for league/commonmark v2

Created at 2 weeks ago
aboks create branch v1
Created at 2 weeks ago
aboks delete branch github-actions
Created at 2 weeks ago
aboks delete branch ordinal
Created at 2 weeks ago
aboks delete branch multi-letter
Created at 2 weeks ago
pull request opened
Update extension for league/commonmark v2
Created at 2 weeks ago
aboks create branch v2
Created at 2 weeks ago
opened issue
HTML entities are not kept intact, leading to invalid HTML

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 &amp; 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"> &amp; 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"> &amp</del>;<del class="diffdel"> sapien;</del></body>

You can see that the diff algorithm broke up the &amp 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.

Created at 1 month ago
Created at 1 month ago
issue comment
repository setup: new GPG repository keys

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',
  },
}
Created at 1 month ago
aboks create tag v2.5.7
Created at 2 months ago

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

Created at 2 months ago
pull request closed
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

Created at 2 months ago

Add strikethrough styling for cancelled gigs

Created at 2 months ago

Add data about speaking gigs due to COVID-19

Created at 2 months ago