Update website

This commit is contained in:
Guilhem Lavaux 2024-11-23 22:48:04 +01:00
parent 56c333245a
commit fb7ef68046
24 changed files with 69 additions and 77 deletions

View File

@ -25,7 +25,7 @@ return array(
'Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'),
'Symfony\\Component\\ErrorHandler\\' => array($vendorDir . '/symfony/error-handler'),
'Stevenmaguire\\OAuth2\\Client\\' => array($vendorDir . '/stevenmaguire/oauth2-bitbucket/src'),
'RenanBr\\BibTexParser\\' => array($vendorDir . '/renanbr/bibtex-parser/src'),
'RenanBr\\BibTexParser\\' => array($vendorDir . '/lavaux/bibtex-parser/src'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'),
'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),

View File

@ -165,7 +165,7 @@ class ComposerStaticInitc94a8368bcea9853dd31683be0b15c06
),
'RenanBr\\BibTexParser\\' =>
array (
0 => __DIR__ . '/..' . '/renanbr/bibtex-parser/src',
0 => __DIR__ . '/..' . '/lavaux/bibtex-parser/src',
),
'Psr\\Log\\' =>
array (

View File

@ -767,6 +767,63 @@
],
"install-path": "../guzzlehttp/psr7"
},
{
"name": "lavaux/bibtex-parser",
"version": "2.2",
"version_normalized": "2.2.0.0",
"dist": {
"type": "zip",
"url": "https://github.com/lavaux/bibtex-parser/archive/patch-1.zip"
},
"require": {
"php": ">=5.6.0"
},
"require-dev": {
"phpunit/phpunit": ">=5.7",
"ryakad/pandoc-php": "^1.0"
},
"suggest": {
"ryakad/pandoc-php": "Needed to support LaTeX decoder in class RenanBr\\BibTexParser\\Processor\\LatexToUnicodeProcessor",
"ueberdosis/pandoc": "Alternate Pandoc PHP package which (if available) will be preferred over ryakad/pandoc-php"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"RenanBr\\BibTexParser\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RenanBr\\BibTexParser\\Test\\": "tests/"
}
},
"license": [
"MIT"
],
"authors": [
{
"name": "Renan de Lima Barbosa",
"email": "renandelima@gmail.com"
}
],
"description": "BibTex Parser provides an API to read .bib files programmatically",
"keywords": [
"bib",
"bibliography",
"bibtex",
"citation",
"cite",
"latex",
"parser"
],
"install-path": "../lavaux/bibtex-parser"
},
{
"name": "league/oauth2-client",
"version": "2.7.0",
@ -1402,71 +1459,6 @@
},
"install-path": "../ralouphie/getallheaders"
},
{
"name": "renanbr/bibtex-parser",
"version": "2.2.0",
"version_normalized": "2.2.0.0",
"source": {
"type": "git",
"url": "https://github.com/renanbr/bibtex-parser.git",
"reference": "d02d2426822235f5179ecdf635ba710c9d6d2ddd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/renanbr/bibtex-parser/zipball/d02d2426822235f5179ecdf635ba710c9d6d2ddd",
"reference": "d02d2426822235f5179ecdf635ba710c9d6d2ddd",
"shasum": ""
},
"require": {
"php": ">=5.6.0"
},
"require-dev": {
"phpunit/phpunit": ">=5.7",
"ryakad/pandoc-php": "^1.0"
},
"suggest": {
"ryakad/pandoc-php": "Needed to support LaTeX decoder in class RenanBr\\BibTexParser\\Processor\\LatexToUnicodeProcessor",
"ueberdosis/pandoc": "Alternate Pandoc PHP package which (if available) will be preferred over ryakad/pandoc-php"
},
"time": "2023-08-25T11:21:46+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"RenanBr\\BibTexParser\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Renan de Lima Barbosa",
"email": "renandelima@gmail.com"
}
],
"description": "BibTex Parser provides an API to read .bib files programmatically",
"keywords": [
"Bibliography",
"bib",
"bibtex",
"citation",
"cite",
"latex",
"parser"
],
"support": {
"issues": "https://github.com/renanbr/bibtex-parser/issues",
"source": "https://github.com/renanbr/bibtex-parser/tree/2.2.0"
},
"install-path": "../renanbr/bibtex-parser"
},
{
"name": "stevenmaguire/oauth2-bitbucket",
"version": "3.0.0",

View File

@ -82,6 +82,15 @@
'aliases' => array(),
'dev_requirement' => false,
),
'lavaux/bibtex-parser' => array(
'pretty_version' => '2.2',
'version' => '2.2.0.0',
'reference' => null,
'type' => 'library',
'install_path' => __DIR__ . '/../lavaux/bibtex-parser',
'aliases' => array(),
'dev_requirement' => false,
),
'lavaux/website' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
@ -220,15 +229,6 @@
'aliases' => array(),
'dev_requirement' => false,
),
'renanbr/bibtex-parser' => array(
'pretty_version' => '2.2.0',
'version' => '2.2.0.0',
'reference' => 'd02d2426822235f5179ecdf635ba710c9d6d2ddd',
'type' => 'library',
'install_path' => __DIR__ . '/../renanbr/bibtex-parser',
'aliases' => array(),
'dev_requirement' => false,
),
'stevenmaguire/oauth2-bitbucket' => array(
'pretty_version' => '3.0.0',
'version' => '3.0.0.0',

View File

@ -266,7 +266,7 @@ class Parser
*/
private function readTagName($char)
{
if (preg_match('/^[a-zA-Z0-9_\+:\-\.\/\x{00C0}-\x{01FF}]$/u', $char)) {
if (preg_match('/^[a-zA-Z0-9_\&\+:\-\.\/\x{00C0}-\x{01FF}]$/u', $char)) {
$this->appendToBuffer($char);
} elseif ($this->isWhitespace($char) && empty($this->buffer)) {
// Skips because we didn't start reading