Number of text and images in accessoryInline widget

Only one image and one Text will be displayed even if described as follows:

HStack {
  Text("1")
  Image(systemName: "swift")
  Text("2")
  Image(systemName: "swift")
}

However, a similar layout is possible by describing it this way:

Text("1 \(Image(systemName: "swift")) 2 \(Image(systemName: "swift"))")

Is this behavior correct?

Environment: Xcode 14 beta 5, iOS 16 beta 6

Number of text and images in accessoryInline widget
 
 
Q