diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-09 23:35:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 23:35:04 +0200 |
commit | 007e32fd632da33ea1b1442f9a55f6ad008ad177 (patch) | |
tree | 32de00dddb0a5ea3cdbf0f4c24db92f6a0713e32 /src-vue/src/views/ChangelogView.vue | |
parent | 1ce900ca2d5cf91ae410c2ec918e1431aa15a677 (diff) | |
download | FlightCore-007e32fd632da33ea1b1442f9a55f6ad008ad177.tar.gz FlightCore-007e32fd632da33ea1b1442f9a55f6ad008ad177.zip |
style: Partially autoformat Vue source files (#326)
* style: Add/remove spaces where applicable
* style: Add missing newlines
* style: Fix indentation
* style: Add newlines between CSS classes
Diffstat (limited to 'src-vue/src/views/ChangelogView.vue')
-rw-r--r-- | src-vue/src/views/ChangelogView.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src-vue/src/views/ChangelogView.vue b/src-vue/src/views/ChangelogView.vue index e68beded..7ab50903 100644 --- a/src-vue/src/views/ChangelogView.vue +++ b/src-vue/src/views/ChangelogView.vue @@ -11,10 +11,10 @@ :timestamp="formatDate(release.published_at)" placement="top" > - <el-card> - <h4>{{ release.name }}</h4> - <p v-html="formatRelease(release.body)"></p> - </el-card> + <el-card> + <h4>{{ release.name }}</h4> + <p v-html="formatRelease(release.body)"></p> + </el-card> </el-timeline-item> </el-timeline> </el-scrollbar> @@ -48,7 +48,7 @@ export default defineComponent({ // PR's links formatting content = content.replaceAll(/\[(\S*)\#(\S+)\]\(([^)]+)\)/g, `<a target="_blank" href="$3">$1#$2</a>`); - return marked.parse(content, {breaks: true}); + return marked.parse(content, { breaks: true }); }, // Formats an ISO-formatted date into a human-readable string. formatDate(timestamp: string): string { |