Skip to content

Commit

Permalink
fix: code scanning alert (#1442)
Browse files Browse the repository at this point in the history
* fix: code scanning alert

* fix: code scanning alert

* fix: code scanning alert
  • Loading branch information
mfranzke authored Sep 21, 2022
1 parent 392521d commit 749a3e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/gitgraph/branching-scheme.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</head>
<body>
<canvas id="gitGraph"></canvas>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.min.js" integrity="sha384-2GjLPjUuz0uNoyw8YQ2zQoMBU8q/8opCOxpHOTvMjl1AY6IjI6Lat39y7JhmBpaZ" crossorigin="anonymous"></script>
<script src="patternlab-flow.js"></script>
</body>
</head>
2 changes: 1 addition & 1 deletion packages/core/src/lib/parseLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const getPartial = require('./get');

module.exports = function (patternlab, obj, key) {
//check for 'link.patternPartial'
const linkRE = /(?:'|")(link\.[A-z0-9-_]+)(?:'|")/g;
const linkRE = /(?:'|")(link\.[\w-]+)(?:'|")/g;

//stringify the passed in object
let dataObjAsString;
Expand Down
12 changes: 6 additions & 6 deletions packages/docs/src/_includes/partials/components/demo-list.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

{% if item.data.category == demoListCategory %}
<li class="c-demo-list__item">
<a href="{{ item.data.url }}" target="_blank" class="c-stacked-block">

<a href="{{ item.data.url }}" target="_blank" class="c-stacked-block" rel="noopener noreferrer">
<div class="c-stacked-block__preview-container">
<div class="c-stacked-block__bar">
<div class="c-stacked-block__bar-dots"></div>
Expand All @@ -19,15 +19,15 @@
<div class="c-stacked-block__frame-overlay"></div>
</div>
</div>

<h3 class="c-stacked-block__title">
{{ item.data.title }}
{{ item.data.title }}
</h3>
<p class="c-stacked-block__description">
{{ item.data.description}}
{{ item.data.description}}
</p>
</a>

</li>
{% endif %}

Expand Down

0 comments on commit 749a3e7

Please sign in to comment.