File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed
Sources/MarkdownKit/AttributedString Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.1.8 (2024-05-01)
4
+ - Fix ` Color.hexString ` on iOS to handle black correctly
5
+ - Clean up ` Package.swift `
6
+ - Updated ` CHANGELOG `
7
+
8
+ ## 1.1.7 (2023-04-10)
9
+ - Fix handling of copyright sign when escaped as XML named character
10
+
11
+ ## 1.1.6 (2023-04-10)
12
+ - Migrate framework to Xcode 14
13
+ - Fix tests related to images in attributed strings
14
+
3
15
## 1.1.5 (2022-02-27)
4
16
- Bug fixes to make ` AttributedStringGenerator ` work with images.
5
17
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ let package = Package(
34
34
name: " MarkdownKit " ,
35
35
platforms: [
36
36
. macOS( . v10_12) ,
37
- . iOS( . v13)
37
+ . iOS( . v13) ,
38
+ . tvOS( . v13) ,
39
+ . watchOS( . v6)
38
40
] ,
39
41
products: [
40
42
. library( name: " MarkdownKit " , targets: [ " MarkdownKit " ] ) ,
Original file line number Diff line number Diff line change @@ -376,5 +376,5 @@ _Swift Package Manager_ is not needed.
376
376
## Copyright
377
377
378
378
Author: Matthias Zenger (< matthias@objecthub.net > )
379
- Copyright © 2019-2023 Google LLC.
379
+ Copyright © 2019-2024 Google LLC.
380
380
_ Please note: This is not an official Google product._
Original file line number Diff line number Diff line change 31
31
var red = 0
32
32
var green = 0
33
33
var blue = 0
34
-
35
34
if components. count >= 3 {
36
35
red = Int ( round ( components [ 0 ] * 0xff ) )
37
36
green = Int ( round ( components [ 1 ] * 0xff ) )
38
37
blue = Int ( round ( components [ 2 ] * 0xff ) )
39
- } else if components. count == 2 {
38
+ } else if components. count >= 1 {
40
39
red = Int ( round ( components [ 0 ] * 0xff ) )
41
40
green = Int ( round ( components [ 0 ] * 0xff ) )
42
41
blue = Int ( round ( components [ 0 ] * 0xff ) )
You can’t perform that action at this time.
0 commit comments