diff --git a/core/modules/system/css/system.diff.css b/core/modules/system/css/system.diff.css
index 251ff57..65cfe2d 100644
--- a/core/modules/system/css/system.diff.css
+++ b/core/modules/system/css/system.diff.css
@@ -1,23 +1,4 @@
 /**
- * Inline diff metadata
- */
-.diff-inline-metadata {
-  padding:4px;
-  border:1px solid #ddd;
-  background:#fff;
-  margin:0 0 10px;
-}
-
-.diff-inline-legend {
-  font-size:11px;
-}
-
-.diff-inline-legend span,
-.diff-inline-legend label {
-  margin-right:5px;
-}
-
-/**
  * Inline diff markup
  */
 span.diff-deleted {
@@ -52,12 +33,6 @@ table.diff .even, table.diff .odd {
   background-color: inherit;
   border: none;
 }
-table.diff .diff-prevlink {
-  text-align: left;
-}
-table.diff .diff-nextlink {
-  text-align: right;
-}
 table.diff .diff-section-title,
 table.diff  .diff-section-title {
   background-color: #f0f0ff;
@@ -66,7 +41,7 @@ table.diff  .diff-section-title {
   padding: 0.1em 1em;
 }
 table.diff .diff-context {
-    background-color: #fafafa;
+  background-color: #fafafa;
 }
 table.diff .diff-deletedline {
   background-color: #ffa;
diff --git a/core/modules/taxonomy/src/TermForm.php b/core/modules/taxonomy/src/TermForm.php
index 9da0993..6060a6e 100644
--- a/core/modules/taxonomy/src/TermForm.php
+++ b/core/modules/taxonomy/src/TermForm.php
@@ -29,10 +29,10 @@ public function form(array $form, FormStateInterface $form_state) {
     $form_state->set(['taxonomy', 'vocabulary'], $vocabulary);
 
     $form['relations'] = array(
-      '#type' => 'details',
-      '#title' => $this->t('Relations'),
-      '#open' => $vocabulary->getHierarchy() == TAXONOMY_HIERARCHY_MULTIPLE,
-      '#weight' => 10,
+        '#type' => 'details',
+        '#title' => $this->t('Relations'),
+        '#open' => $vocabulary->getHierarchy() == TAXONOMY_HIERARCHY_MULTIPLE,
+        '#weight' => 10,
     );
 
     // \Drupal\taxonomy\TermStorageInterface::loadTree() and
@@ -63,31 +63,31 @@ public function form(array $form, FormStateInterface $form_state) {
       }
 
       $form['relations']['parent'] = array(
-        '#type' => 'select',
-        '#title' => $this->t('Parent terms'),
-        '#options' => $options,
-        '#default_value' => $parent,
-        '#multiple' => TRUE,
+          '#type' => 'select',
+          '#title' => $this->t('Parent terms'),
+          '#options' => $options,
+          '#default_value' => $parent,
+          '#multiple' => TRUE,
       );
     }
 
     $form['relations']['weight'] = array(
-      '#type' => 'textfield',
-      '#title' => $this->t('Weight'),
-      '#size' => 6,
-      '#default_value' => $term->getWeight(),
-      '#description' => $this->t('Terms are displayed in ascending order by weight.'),
-      '#required' => TRUE,
+        '#type' => 'textfield',
+        '#title' => $this->t('Weight'),
+        '#size' => 6,
+        '#default_value' => $term->getWeight(),
+        '#description' => $this->t('Terms are displayed in ascending order by weight.'),
+        '#required' => TRUE,
     );
 
     $form['vid'] = array(
-      '#type' => 'value',
-      '#value' => $vocabulary->id(),
+        '#type' => 'value',
+        '#value' => $vocabulary->id(),
     );
 
     $form['tid'] = array(
-      '#type' => 'value',
-      '#value' => $term->id(),
+        '#type' => 'value',
+        '#value' => $term->id(),
     );
 
     return parent::form($form, $form_state, $term);
@@ -128,15 +128,16 @@ public function save(array $form, FormStateInterface $form_state) {
 
     $result = $term->save();
 
-    $link = $term->link($this->t('Edit'), 'edit-form');
+    $edit_link = $term->link($this->t('Edit'), 'edit-form');
+    $view_link = $term->link($term->getName());
     switch ($result) {
       case SAVED_NEW:
-        drupal_set_message($this->t('Created new term %term.', array('%term' => $term->getName())));
-        $this->logger('taxonomy')->notice('Created new term %term.', array('%term' => $term->getName(), 'link' => $link));
+        drupal_set_message($this->t('Created new term %term.', array('%term' => $view_link)));
+        $this->logger('taxonomy')->notice('Created new term %term.', array('%term' => $term->getName(), 'link' => $edit_link));
         break;
       case SAVED_UPDATED:
-        drupal_set_message($this->t('Updated term %term.', array('%term' => $term->getName())));
-        $this->logger('taxonomy')->notice('Updated term %term.', array('%term' => $term->getName(), 'link' => $link));
+        drupal_set_message($this->t('Updated term %term.', array('%term' => $view_link)));
+        $this->logger('taxonomy')->notice('Updated term %term.', array('%term' => $term->getName(), 'link' => $edit_link));
         break;
     }
 
diff --git a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php
index 00df789..877ace1 100644
--- a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php
+++ b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php
@@ -35,7 +35,7 @@ function testVocabularyPermissionsTaxonomyTerm() {
     $edit['name[0][value]'] = $this->randomMachineName();
 
     $this->drupalPostForm(NULL, $edit, t('Save'));
-    $this->assertRaw(t('Created new term %name.', array('%name' => $edit['name[0][value]'])), 'Term created successfully.');
+    $this->assertText(t('Created new term @name.', array('@name' => $edit['name[0][value]'])), 'Term created successfully.');
 
     $terms = taxonomy_term_load_multiple_by_name($edit['name[0][value]']);
     $term = reset($terms);
@@ -47,7 +47,7 @@ function testVocabularyPermissionsTaxonomyTerm() {
 
     $edit['name[0][value]'] = $this->randomMachineName();
     $this->drupalPostForm(NULL, $edit, t('Save'));
-    $this->assertRaw(t('Updated term %name.', array('%name' => $edit['name[0][value]'])), 'Term updated successfully.');
+    $this->assertText(t('Updated term @name.', array('@name' => $edit['name[0][value]'])), 'Term updated successfully.');
 
     // Delete the vocabulary.
     $this->drupalGet('taxonomy/term/' . $term->id() . '/delete');
@@ -75,7 +75,7 @@ function testVocabularyPermissionsTaxonomyTerm() {
 
     $edit['name[0][value]'] = $this->randomMachineName();
     $this->drupalPostForm(NULL, $edit, t('Save'));
-    $this->assertRaw(t('Updated term %name.', array('%name' => $edit['name[0][value]'])), 'Term updated successfully.');
+    $this->assertText(t('Updated term @name.', array('@name' => $edit['name[0][value]'])), 'Term updated successfully.');
 
     // Delete the vocabulary.
     $this->drupalGet('taxonomy/term/' . $term->id() . '/delete');
@@ -123,4 +123,5 @@ function testVocabularyPermissionsTaxonomyTerm() {
     $this->drupalGet('taxonomy/term/' . $term->id() . '/delete');
     $this->assertResponse(403, 'Delete taxonomy term form open failed.');
   }
+
 }
