diff --git a/view/api_timeline_xml.tpl b/view/api_timeline_xml.tpl
index 17860ca6..55143968 100644
--- a/view/api_timeline_xml.tpl
+++ b/view/api_timeline_xml.tpl
@@ -1,22 +1,19 @@
-
- {{ for $statuses as $status }}
-
- $status.created_at
- $status.id
- $status.text
- $status.statusnet_html
-
- $status.truncated
- $status.url
- $status.in_reply_to_status_id
- $status.in_reply_to_user_id
- $status.favorited
- $status.in_reply_to_screen_name
- $status.geo
- $status.coordinates
- $status.place
- $status.contributors
- {{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }}
-
- {{ endfor }}
-
\ No newline at end of file
+
+{{ for $statuses as $status }}
+ $status.text
+ $status.truncated
+ $status.created_at
+ $status.in_reply_to_status_id
+
+ $status.id
+ $status.in_reply_to_user_id
+ $status.in_reply_to_screen_name
+ $status.geo
+ $status.favorited
+{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} $status.statusnet_html
+ $status.url
+ $status.coordinates
+ $status.place
+ $status.contributors
+
+{{ endfor }}
diff --git a/view/api_user_xml.tpl b/view/api_user_xml.tpl
index f1e122f3..d286652c 100644
--- a/view/api_user_xml.tpl
+++ b/view/api_user_xml.tpl
@@ -1,34 +1,34 @@
-
- $user.id
- $user.name
- $user.screen_name
- $user.location
- $user.description
- $user.profile_image_url
- $user.url
- $user.protected
- $user.followers_count
- $user.profile_background_color
- $user.profile_text_color
- $user.profile_link_color
- $user.profile_sidebar_fill_color
- $user.profile_sidebar_border_color
- $user.friends_count
- $user.created_at
- $user.favourites_count
- $user.utc_offset
- $user.time_zone
- $user.profile_background_image_url
- $user.profile_background_tile
- $user.profile_use_background_image
- $user.notifications
- $user.geo_enabled
- $user.verified
- $user.following
- $user.statuses_count
- $user.lang
- $user.contributors_enabled
- {{ if $user.status }}
+
+ $user.id
+ $user.name
+ $user.screen_name
+ $user.location
+ $user.description
+ $user.profile_image_url
+ $user.url
+ $user.protected
+ $user.followers_count
+ $user.friends_count
+ $user.created_at
+ $user.favourites_count
+ $user.utc_offset
+ $user.time_zone
+ $user.statuses_count
+ $user.following
+ $user.profile_background_color
+ $user.profile_text_color
+ $user.profile_link_color
+ $user.profile_sidebar_fill_color
+ $user.profile_sidebar_border_color
+ $user.profile_background_image_url
+ $user.profile_background_tile
+ $user.profile_use_background_image
+ $user.notifications
+ $user.geo_enabled
+ $user.verified
+ $user.lang
+ $user.contributors_enabled
+ {{ if $user.status }}
$user.status.created_at
$user.status.id
$user.status.text
@@ -43,4 +43,4 @@
$user.status.place
$user.status.contributors
{{ endif }}
-
+